eric1234598765
Subscriber

Hi, 

It seems that you are trying to loop something "directionally"

I've never done that before, but include the concept of coordinate (such as node coordiante or cell centroid) may work.

You can refrer to chapter 3.2 in UDF manual for more info of access node or cell coordinate data.