Jump to content

Group combine pattern syntax


BludArtworks

Recommended Posts

Hello !
I’m completly lost with group syntax and wildcards. I try to combine every second primitive group. Looked at the doc (http://www.sidefx.com/docs/houdini/model/groups.html#syntax) but it doesn’t help me sadly.
 

Any advice ? 

 

Thanks :)

group_problem.hip

Edited by BludArtworks
Link to comment
Share on other sites

In your copy transform output copynum attrb pack your geo then you can use the the module function in a prim wrangle to get every 2 prim grp 

if(@copynum % 2 == 1){
    i@group_newGrp = 1;
}

You could also use the group range as well.

Edited by Sepu
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...