WLVL Posted January 17, 2016 Share Posted January 17, 2016 Hello! in VOP the ptnum is called with a parameter node for the first input (geometryvopglobal) i used an importpoint attribute with sign: integer, input: second input, attribute: ptnum but it returns me zero. if i want the ptnum for the other inputs do i have to create the point number attribute ahead? is the ptnum like an implicit attribute? thanks for helping!! Quote Link to comment Share on other sites More sharing options...
Maurits Posted January 17, 2016 Share Posted January 17, 2016 I think ptnum only gets the ptnum of the current point being processed.Depends on what you wan't to do. if you want to get an attribute from the second input with the same number you can use the @ptnum as target point in the "point" function.But if you want to iterate over all the points in the second input for each point in the first you can also use a for loop with the total number of points of the second input as goal.So knowing what your goal might help for a better answer. 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.