Selecting a range of groups by their number (not value)?

   933   2   0
User Avatar
Member
4 posts
Joined: 6月 2022
Online
Currently trying to choose a range of groups, or for an example:

I have groups rocks01-Red, rocks02-Red, rocks03-Red, rocks05-Red, rocks06-Red.

I only want to grab groups rocks02 to 05.

I know I can use {rocks* ^rocks01-Red} to exclude one group from the selection. But how do I select a range of groups?

I.e {rocks(02-05)}

The Houdini page on group syntax if helpful but misses out on this info or I've completely missing something.

Cheers.
User Avatar
Member
8518 posts
Joined: 7月 2007
Online
Ollie_Beca
I have groups rocks01-Red
that's not a valid group name, how did you create those groups?
but let's say your groups are named rocks0?_Red
then you can do something like rocks0[2345]_Red, so not exactly range, but could be useful for short singledigit ranges
Edited by tamte - 2022年10月6日 00:22:00
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
4 posts
Joined: 6月 2022
Online
tamte
Ollie_Beca
I have groups rocks01-Red
that's not a valid group name, how did you create those groups?
but let's say your groups are named rocks0?_Red
then you can do something like rocks0[2345]_Red, so not exactly range, but could be useful for short singledigit ranges

It was more just for example purpose. The actual group names I'm trying to deal with are generally like: Test_SE_Bridge_Deck_and_Barriers_Type1_SE_Bridge_Deck_and_Barriers__7935200_ and there's a LOT of them. So the problem I'm having is whenever I use *[Type10,Type12,Type05,Type08,Type20]*I also get everything that has those numbers in the end number tag. And using Test_SE_Bridge_Deck_and_Barriers_Type[25 30 31 28 27 26 32 24 29]I just select points 1-12 for some reason?

Am I just screwed by those number tags or should I start looking at VEX solutions. This is going to be a problem for most of the geometry given to me.

Thanks for the help!
Edited by Ollie_Beca - 2022年10月6日 00:52:39
  • Quick Links