assign material on multiple objects by face sets/material id

   2594   1   1
User Avatar
Member
13 posts
Joined: March 2020
Offline
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.
Edited by LH21 - March 10, 2021 14:38:30

Attachments:
Untitled2.png (15.9 KB)

User Avatar
Member
250 posts
Joined: Oct. 2014
Offline
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.

/**ribs*
Edited by Tim Crowson - March 10, 2021 15:13:09
- Tim Crowson
Technical/CG Supervisor
  • Quick Links