Jump to content
Sign in to follow this  

ython - creating local material parameters with python

Recommended Posts

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


how would I go about adding this parameter via with python


Thanks in advance


Share this post

Link to post
Share on other sites

Drag the parameter to the Python shell. It will give you something like:


then just add .asCode()


and you will get all the python code nescessary to create the paramter.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this