Python LOPs Materials

   1146   2   0
User Avatar
Member
35 posts
Joined: Dec. 2012
Offline
How would I go about finding the primitives and assigned materials using python in LOPs?
User Avatar
Staff
4438 posts
Joined: July 2005
Offline
USD doesn't have explicit python documentation, but the correlation between the C++ API and the python API is pretty good. So you can usually use a combination of the C++ documentation and auto-completion in the python shell to figure things out. For material binding, the place to start is with this class: https://graphics.pixar.com/usd/dev/api/class_usd_shade_material_binding_a_p_i.html [graphics.pixar.com]
User Avatar
Member
35 posts
Joined: Dec. 2012
Offline
Thank you I will start there
  • Quick Links