Jump to content

Unique Group Names


Recommended Posts

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

:ph34r:

Link to comment
Share on other sites

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

:ph34r:

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.

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...