2
votes
Accepted
How to get what a node group's name is inside a material?
Gorgious has just posted an answer that will simplify your life, here.
As you can:
dict_of_group_to_users = bpy.data.user_map(subset=bpy.data.node_groups)
But for ...
1
vote
Add or Remove item / socket in Nodetree / Node group - New "Items Tree" - Blender 4.0
I got a solution aided by the help of the Serpens add-on and their community.
In Python the code would look like this:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
node-editor × 4257materials × 1070
cycles-render-engine × 967
texturing × 785
shaders × 562
python × 378
compositing-nodes × 366
rendering × 351
animation × 197
scripting × 186
geometry-nodes × 185
uv × 174
lighting × 172
procedural × 163
shader-nodes × 159
transparency × 156
image × 126
eevee-render-engine × 121
geometry × 119
mathematics × 119
color × 117
modeling × 111
animation-nodes × 109
blender-internal-render-engine × 82
displacement × 81