天天看點

Obtaining values of Point Array Feature

I actually found a solution and wanted to post it for future reference.

Let’s say we have a CR1 Feature containing 10 points.

We then declare 3 real values called rl_x, rl_y and rl_z.

we can obtain the first point by typing this :

rl_x = OBTAIN/FA(CR1)[1],2
rl_y = OBTAIN/FA(CR1)[1],3
rl_z = OBTAIN/FA(CR1)[1],4      

The syntax to obtain a feature’s actual values would go like this :

var = OBTAIN/FA(chFeatureName)[n] ,rlValueIndex

Where n is the point index of the feature’s individual point data.

jj