sibarrick Posted November 9, 2005 Share Posted November 9, 2005 Hi all, I want to create some temp point groups that will be used to do some calculations and then destroyed so they won't get saved in the geometry. How do I ensure that don't have names that already exist? I could just give them weird names that are unlikely to ever be used but that seems a bit lame. Is there a function to generate unique names for groups? or some other way around this? cheers Quote Link to comment Share on other sites More sharing options...
Wolfwood Posted November 9, 2005 Share Posted November 9, 2005 Hi all,I want to create some temp point groups that will be used to do some calculations and then destroyed so they won't get saved in the geometry. How do I ensure that don't have names that already exist? I could just give them weird names that are unlikely to ever be used but that seems a bit lame. Is there a function to generate unique names for groups? or some other way around this? cheers 22471[/snapback] Checkout SOP_Node::createAdhocPointGroup() // Create an ahdoc (internal) group and add it to the list of adhoc groups. // The group will be deleted for you after cooking. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted November 9, 2005 Author Share Posted November 9, 2005 Sounds spot on cheers! 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.