kiryha Posted May 31, 2018 Share Posted May 31, 2018 I have group expression which selects 7 primitives in stripe and skips one. How can I modify the amount of skipped primitives (if I need select 7, skip 2, for example)? primSelectionPattern_001.hipnc Quote Link to comment Share on other sites More sharing options...
kiryha Posted May 31, 2018 Author Share Posted May 31, 2018 Have a sophisticated solution which is working but not elegant at all... Still thinking how it could be done with pure expression. primSelectionPattern_002.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 1, 2018 Share Posted June 1, 2018 (edited) surely group by range ??? so in your first post: 7, skip 2 mean select 7 out of 9...so go on...use a group by range and plug the values in...you can even use Offset (yeah ok, so it's strictly not scripting...but why not take the easiest way out ?) ahhh...wth...I'll chuck in a wrangle here... primSelectionPattern_wrangle.hipnc Edited June 1, 2018 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted June 1, 2018 Author Share Posted June 1, 2018 Exactly what I was looking for! Long way of learning nodes in Houdini through the attempts to solve everything with VEX. Thanks again Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 1, 2018 Share Posted June 1, 2018 i updated me post to include a wrangle..you might be interested... 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted June 1, 2018 Author Share Posted June 1, 2018 That's fantastic! You can write the group name in Output Selection Group field of Bindings tab to highlight the group in wrangle. 1 Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 1, 2018 Share Posted June 1, 2018 oh....never knew that....nice tip, thanks !!! 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.