I would like to select and change border edges of a geometry (for example a Grid), using “Wrangle”, So I put these codes in a point wrangle, but it doesn't select all points I need.
i@HEdges=pointhedge(0, @ptnum); i@HEdCount=hedge_equivcount(0,@HEdges); if(@HEdCount==1) { setpointgroup(0, "Border", hedge_srcpoint(0, @HEdges), 1, "set"); setpointgroup(0, "Border", hedge_dstpoint(0, @HEdges), 1, "set"); }
I can't figure out what is wrong with it!
Here, my hip file is attached.
Thanks.