How To Assign MDL Materials To Multiple Prims Thru Python

Greetings sir/madam,

Is there any way we can assign MDL Materials to multiple prims thru python code using USD Libraries. For example, in a USD stage I have sphere, cube and cone. I want to assign Cherry material mdl to cone and sphere. And I want to assign Ash material mdl to the cube. Can I do it thru python code using the USD Libraries? Please do a tutorial video to do that. Thanks in advance.

Regards,
Salvin

Hi @salvinravindran. Here are some examples:

You might find this USD and Omniverse coding playlist helpful: Free 3D Procedural Modeling Tool and Learn to Code Your Own - YouTube

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.