Skip to content

I cannot set material in my object #812

Answered by cornerfarmer
MayconSilva7 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @MayconSilva7,

the input_name has to be exactly like how it is specified in blender, meaning it should be uppercase:

plane_material.set_displacement_from_principled_shader_value("Metallic", multiply_factor=1)

Let me know if this works

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@cornerfarmer
Comment options

@MayconSilva7
Comment options

@MayconSilva7
Comment options

@cornerfarmer
Comment options

@MayconSilva7
Comment options

Answer selected by MayconSilva7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants