Grasshopper with landscape path finder

Hi,

But when i actually write it and run it with grasshopper, it occur a problem with loft command.
“1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index”

please find it in the attchment.

thanks,
Chenpath finder.gh (18.2 KB)

points weren’t being projected on the surface nor kept on it, changed it a bit
path finder_2.gh (130.6 KB)

seems to respond fine

thanks so much!!! you really help me a lot!!