Jump to content
BludArtworks

Group combine pattern syntax

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×