doc Posted November 10, 2011 Share Posted November 10, 2011 So I have a geometry object, and on its material tab I can go to the menu to the right of the "Material" parameter and "Select and Create local material parameter". In my case the parameter I'm interested in is called "occlusion_cash". how would I go about adding this parameter via with python commands? Thanks in advance L Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted November 10, 2011 Share Posted November 10, 2011 Drag the parameter to the Python shell. It will give you something like: hou.parmTuple('/obj/your_object1/occlusion_cash') then just add .asCode() hou.parmTuple('/obj/your_object1/occlusion_cash').asCode() and you will get all the python code nescessary to create the paramter. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.