Jump to content

Giving points an explicit pt#


Recommended Posts

Hi there,  I'm wondering if there is a way to specifiy specific point number values.

 

Ie. Say I have 4 pts,   normally houdini would tell me they are 0, 1, 2, 3 ...   is there a way for me to.. make point #2... have a point ID of 20.. so its .. 0, 1, 20, 3 ?

 

Specifically what I want to do is associate a PT# with a group..  groupA is always PT# 37, groupB is always PT# 22.

 

Thanks for your help.

Edited by Spaz8
Link to comment
Share on other sites

Ie. Say I have 4 pts,   normally houdini would tell me they are 0, 1, 2, 3 ...   is there a way for me to.. make point #2... have a point ID of 20.. so its .. 0, 1, 20, 3 ?

 

 

In AttribWrangle:

if(@ptnum == 2)
i@pointid = @ptnum * 10;

This is okay for 4 point but tedious for large number.

Edited by Pradeep Barua
Link to comment
Share on other sites

Specifically what I want to do is associate a PT# with a group..  groupA is always PT# 37, groupB is always PT# 22.

 

 

Why not put point number straight into Pattern field of group SOP?

 

May be you should post your file for better solution.

Edited by Pradeep Barua
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...