I cannot set material in my object #812
Answered
by
cornerfarmer
MayconSilva7
asked this question in
Q&A
-
Hello, I have been trying to set a material in a plane in my script like ”Material Manipulation example“. But I got the error ”No element with the given condition has been found.“ I using VSCode on Windows, and the line “set_displacement_from_principled_shader_value“ does not recognize as a function. Follows the code
|
Beta Was this translation helpful? Give feedback.
Answered by
cornerfarmer
Feb 7, 2023
Replies: 1 comment 17 replies
-
Hey @MayconSilva7, the input_name has to be exactly like how it is specified in blender, meaning it should be uppercase:
Let me know if this works |
Beta Was this translation helpful? Give feedback.
17 replies
Answer selected by
MayconSilva7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @MayconSilva7,
the input_name has to be exactly like how it is specified in blender, meaning it should be uppercase:
Let me know if this works