LH21
March 10, 2021 14:35:05
Hello!
I am trying to assign the same material to multiple objects in my scene, and found no success with using relative path to assign materials by face sets or material ID.
What would be the method to do this in LOPS?
Thanks.
Tim Crowson
March 10, 2021 15:12:26
The 'Primitives' parm takes only USD primitive paths, which are not at all like Houdini's native pathing system.
See docs:
https://www.sidefx.com/docs/houdini/solaris/pattern.html [
www.sidefx.com]
Here is a super brute-force pattern that should find the prims, but I actually do not recommend using this in production as it's about as inefficient as it could be.