How can I select all objects that are assigned a given material? I could write a script to do this, but I'm guessing there's a simpler way, I just can't find it in the docs.
Seth
Select objects by material
2941 3 1- seth_ro18
- Member
- 81 posts
- Joined: July 2010
- Offline
- goldleaf
- Staff
- 4177 posts
- Joined: Sept. 2007
- Offline
- mattv
- Member
- 21 posts
- Joined: Feb. 2012
- Offline
Seems like you could look at the shop_materialpath primitive attribute and do a string comparison? Group the geometry using an expression to select all primitives that match the correct string pattern?
http://www.sidefx.com/docs/houdini12.0/expressions/strcasematch [sidefx.com]
http://www.sidefx.com/docs/houdini12.0/expressions/strcasematch [sidefx.com]
- seth_ro18
- Member
- 81 posts
- Joined: July 2010
- Offline
-
- Quick Links