I would like to get the @ptnum attribute from a geometry's points and put them in an array, using point wrangle.
Here is my codes but it doesn't works:
i[]@pts = point(0,"ptnum",@ptnum);
Here is output :
int[]
. Since point found no matching attribute, it returns the null value, which for arrays, is an empty array.int @pts[]; for(int i=0; i<@numelem; i++) { append(@pts,i); }
i[]@pts = expandpointgroup(0,"");