You should break down what you want your ledge climb/grab system to actually do. Do you want to just grab specific ledges? If so you should probably go with pre placed objects that holds all the information you need, that way you only need to get the information from the pre placed objects. It all depends on what scope you got for your ledge climb, you could make it as simple as possible or as complex as you want.