j00ey Posted February 9, 2017 Share Posted February 9, 2017 I'm having difficulty with some regular expressions. I have some geometry which contains a load of groups called cluster_0, cluster_1, cluster_2 etc. The number of groups will vary and I need to be able to affect them in batches. Essentially every 5th group needs to have one set of transforms applied, so I need to do some sort of modulus in the group field. I tried cluster_[0-999:5] , cluster_[1-999:5] etc but that only gets cluster_0, cluster_1, cluster_2, cluster_3 and cluster_4 Can anyone give me a pointer? Thanks for reading Quote Link to comment Share on other sites More sharing options...
mestela Posted February 9, 2017 Share Posted February 9, 2017 This might help: http://www.tokeru.com/cgwiki/index.php?title=HoudiniVex#Access_group_names_procedurally_in_vex Quote Link to comment Share on other sites More sharing options...
Atom Posted February 9, 2017 Share Posted February 9, 2017 Here is a link to switching geometry via modulus, maybe it can help? Quote Link to comment Share on other sites More sharing options...
j00ey Posted February 9, 2017 Author Share Posted February 9, 2017 Thanks both, I will look into those. At first glance the detail intrinsic approach looks good, though I'm sure I'll learn something from the other link too. 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.