Skip to main content

All Questions

1 vote
1 answer
96 views

Is there any way to create a boolean input to a ShaderNodeGroup in Blender 4.x using python?

I'm working now on a plugin that includes NodeGroups and I want to make a Boolean Socket. I remember that in the older versions it was possible to do this, but in the Interface system, I didn't really ...
Golden Dragon's user avatar
4 votes
1 answer
215 views

Is there a way to create custom Node types or Nodes Categories using Python?

I want to create custom Nodes for my plugin, and I've found a few places on the web that say it can't be done, and a few places I've seen people say yes, but haven't explained how. So what is the ...
Golden Dragon's user avatar
3 votes
1 answer
427 views

How to change Geometry Nodes modifier name to node tree name?

Is it possible in Blender 3.3 to name each Geometry Nodes modifier name to be the same as the name of node tree attached to this modifier? Of course, it can be done manually, but for projects with a ...
Xostyrka's user avatar
1 vote
1 answer
87 views

How do I get an RGBCurves value in an addon menu?

I'm sure you've all had enough of me by now, but I need to get this working, so I'm just going to power through. Is there a way to get this: into my addon menu? Ideally it should be hidden by default,...
MisterLBlends's user avatar
3 votes
1 answer
181 views

How do I get a ColorRamp field into an addon menu?

I'm back again with a code problem that's probably obvious to everyone else. I'm trying to make a one-stop menu for the initial setup of a texture system I've developed, and I'm having trouble getting ...
MisterLBlends's user avatar
0 votes
1 answer
653 views

Further python development using Serpens 3 generated code for already existing panel. Buttons added after each script run

I want to develop Blender 3.1 plugins with Python and use Serpens 3 as well to generate some starting points. I generated a simple layout in an already existing panel in Object Data Properties->...
Fedor  Petrov's user avatar
0 votes
0 answers
282 views

How to create a new blank empty area?

I would like to remove the area, yet leave the screen itself(red box) and create a whole new empty black area(light blue area) in that screen for making my own editor type. I've looking for awhile in ...
sniffingdoggo's user avatar
3 votes
1 answer
293 views

How to get a collection of a material node's unique properties with the python API?

I'm attempting to find a way to identify the unique properties from material nodes to put into a collection instead of accessing their values by their name. Nodes have collections for inputs, outputs, ...
jedv's user avatar
  • 31
0 votes
1 answer
289 views

Node Editor - Python - Expose listed Node Groups dynamically in Node shelf panel

Issue Currently, node groups are only accessible in the Add menu then group sub-menu. You can't just click and drag them into use. You have to search, or go into sub-menus to use them. Question It ...
Draise's user avatar
  • 206
2 votes
0 answers
62 views

How to display a world texture as a spherical icon via Python?

I'm building some viewport display tools within a panel. I want to have a spherical icon display for the active world environment texture similar to the Material viewport HDR display. The material ...
Sicut Unum's user avatar
1 vote
1 answer
450 views

Find the largest open editor window, split it and set its type

I currently have ...
John Roper's user avatar
5 votes
1 answer
4k views

How to use the File Browser's (with ImportHelper) execute function?

I now have the file browser, and I've found out how to load the texture into the node but not from the file browser. I have to type the file path in manually, and I had to put it in a different class ...
mr-matt's user avatar
  • 1,200
2 votes
1 answer
672 views

Is there a bpy.data.objects equivalent of bpy.ops.object.modifier_apply?

I'm trying to use Blender without invoking the GUI. How do you invoke the bpy.ops functions without a GUI? Is there a bpy.data.objects equivalent of by.ops.object.modifier_apply for instance?
S'rCat's user avatar
  • 253
1 vote
0 answers
202 views

Loading Image and Applying it to Image Texture Node

I am coding an add-on, in which I want the user to select an image using a File Browser of a Custom panel. Then the Image selected is applied to the "object's active material's - Image Texture Node". ...
Akash Hamirwasia's user avatar
3 votes
0 answers
155 views

Change the Description of a value of a node

Is it possible to change the Description of a value of a node in Blender python. I am coding an addon, and want to set description for a value of a node. But by default, it shows: "Input value used ...
Akash Hamirwasia's user avatar