anicg Posted March 7, 2019 Share Posted March 7, 2019 How do I select the last point in a line to transform it, I can do it manually but it will hardcode number 19, I may need to change the number of points and still keep that last point selected for transform. Quote Link to comment Share on other sites More sharing options...
kiryha Posted March 7, 2019 Share Posted March 7, 2019 (edited) This point wrangle will create a "last_point" group with the highest number point: if (@ptnum = @numpt-1){ setpointgroup(0, 'last_point', @ptnum, 1, 'set'); } Transform the last_point group then. Could be even simpler in group expression. Edited March 7, 2019 by kiryha 1 Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted March 8, 2019 Share Posted March 8, 2019 if you have several lines, you can run over primitives in a wrangle int primpts[] = primpoints(0,@primnum); setpointgroup(0,"last",primpts[len(primpts)-1],1,"set"); 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.