Jump to content

Is it possible to procedurally convert a group into another group?


magneto

Recommended Posts

you could create 2 switch nodes and create a group node for each conversion type

and just switch to the correct conversion, by checking the input group type with an expression.

pointgroupmask("/obj/model", "group*")

primgroupmask("/obj/model", "group*")

and use:

http://www.sidefx.co.../houdini9.5/expressions/strcmp

or strmatch("string1,"string2")

to check the group name against the desired group name.

so smth like this for the 2 switch nodes:

strmatch("WantedGroupName",pointgroupmask("../Node","WantedGroupName"))

strmatch("WantedGroupName",primgroupmask("../Node","WantedGroupName"))

Edited by acey195
  • Like 1
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...