gerardocastellanos Posted September 30, 2019 Share Posted September 30, 2019 How can I know which polyline number an point belongs to in vex (in a point wrangler)? thanks you Quote Link to comment Share on other sites More sharing options...
SciMunk Posted September 30, 2019 Share Posted September 30, 2019 (edited) I believe pointprims() is what you want : int prim[] = pointprims(0, @ptnum); https://www.sidefx.com/docs/houdini/vex/functions/pointprims.html Edited September 30, 2019 by SciMunk 1 Quote Link to comment Share on other sites More sharing options...
gerardocastellanos Posted September 30, 2019 Author Share Posted September 30, 2019 thanks you so much! Quote Link to comment Share on other sites More sharing options...
anim Posted September 30, 2019 Share Posted September 30, 2019 (edited) or just use @primnum, which will return number of the first prim attached to the point Edited September 30, 2019 by anim 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.