select points to move by ptnum

   1836   2   0
User Avatar
Member
125 posts
Joined: April 2014
Offline
Using a point vop I am trying to move selective points on a line but I cant seem to get it to work.


Coming from Soft/ICE I was thinking I could select the wanted point by using the ptnum index with a getAttrib for (P) then doing some math on that and plug back into P on the output.
Would someone be able top offer a tip on how to do this properly in a vop?

I can kind of do what I need with manual grouping and a wrangle for single cases but I am working toward being able to select and move the first and last points individually from a collection of primitives (with diff #'s of points).


thanks for any suggestions
Jeff
User Avatar
Member
2042 posts
Joined: Sept. 2015
Offline
I typically work with wrangles and am not very savvy with nodes like what your asking.

and until someone comes along with the suggestion more for what you want;

Did you know the vex primpoints function gives you the array of points belonging to a primitive.

I use this often to get the point/s number specific to a primitive.

Usually in a wrangle I will have a main loop to select the primitives I want to pick out and then another nested loop for getting the points.
Edited by BabaJ - May 1, 2017 12:32:23
User Avatar
Member
125 posts
Joined: April 2014
Offline
thanks BabaJ, I just needed a nudge in the right direction and that was it
  • Quick Links