Skip to main content

All Questions

1 vote
1 answer
51 views

How do I find the output names on Nodes for Python in Blender 4?

After many frustrating days I've managed to get my bake script to not crash, and now I'm banging my head against a wall to have it work with the new BSDF shaders. I knew the inputs were different, but ...
MisterLBlends's user avatar
0 votes
1 answer
59 views

Using a script to set the current values of a shader node groups sockets, as their new "default" values

I'm trying to fix an old discontinued addon, but the new bpy changes in 4.0 are throwing me off. I've tried implementing the new 'tree.interface' elements, but it keeps spitting errors. And of course ...
Cody Setchfield SMOUSE's user avatar
0 votes
0 answers
315 views

From Nodes to Python. Getting the code from a complex shader node tree

I've created a complex shader node tree for the world material and I want to pack it into an addon. Do I really have to recreate all of it in Python or is there a way to just copy and paste the ...
Zwackelmann173's user avatar
0 votes
1 answer
126 views

Why is blender forgetting the 'type' function when I try to copy nodegroups?

I'm upgrading my procedural addon with the ability to add individual procedural groups into other materials. I've figured out how to make buttons on the side menu that do it, but it's less than ideal. ...
MisterLBlends's user avatar
1 vote
1 answer
92 views

How do I get a node to update live from an addon menu?

Since my last question is getting a bit polluted, I'm going to ask this specific question here. Update Reformatting this question entirely, starting by posting everything I currently have in the ...
MisterLBlends's user avatar
4 votes
1 answer
260 views

Passing Animated Properties to World Nodes

everyone! I've run into an issue with controlling world shader with properties. Thus far I've been using a method where I check when I update a property and then overwrite the default value for a ...
Adrians Netlis's user avatar
2 votes
1 answer
75 views

Display nothing when creating Dialog box for color picker and roughness value

I was making a blender add-on 1 year ago, and it can apply shader nodes to the selected object. Now I run my script again, it cannot display the result I did of last year. So, I think it maybe because ...
userN08's user avatar
  • 53
0 votes
0 answers
129 views

How can I Apply material nodes when click image on Enum with Python?

I want my shader nodes to apply to an object when I click the image inside Enum I am using the Enum template ...
8N Films's user avatar
  • 173
0 votes
1 answer
263 views

Input script of Mix Shader node for create link? [duplicate]

I am scripting an add-on and I need to create link between Glossy BSDF node and Mix shader node's "shader" ...
8N Films's user avatar
  • 173
0 votes
1 answer
212 views

What is the script of Glossy BSDF roughness value?

This is the script I am working on ...
8N Films's user avatar
  • 173