All Questions
Tagged with python geometry-nodes
191
questions
0
votes
0
answers
26
views
How to Export JSON from Blender with Split Normals using Geometry Nodes
I am trying to export a JSON file from Blender and need split normals as data on vertices. I have exported a custom attribute named "norm" using geometry nodes. However, I am struggling to ...
1
vote
1
answer
28
views
How do I get the output of the Join Strings node in python?
I'm trying to get the output from as join strings node with the following code but it's printing out nothing?
My Nodes
Code
...
0
votes
2
answers
38
views
How to show only certain vertices in Geometry Nodes?
The objects have a Custom Property called RequiredVerticesArray, which stores the indices of the vertices that should be displayed.
How to read this array through Geometry Nodes and display only these ...
0
votes
1
answer
44
views
Python: Link Join Geometry node and Group Output
I have this code that creates a bunch of Obj Info nodes and joins them with a join geometry node. It is supposed to end by linking the Join Geometry node to the Group output node but it's failing to ...
0
votes
2
answers
42
views
Python: Create a Geometry Node set up to join multiple Objects
Is it possible to use a python script to generate a geometry node set up like this?
As in, selecting all the objects, with the cube as the active, and then running the script to automatically generate ...
2
votes
1
answer
60
views
How to determine whether the FCurve array_index is targetting a specific property?
This question is within the context of Geometry Node and drivers.
Using the Python API, we can retrieve the drivers associated to Geometry Nodes of a given node tree this way:
...
2
votes
0
answers
56
views
Batch baking geometry nodes
I have geometry nodes with simulation zones on a lot of objects. To enable remote rendering I want to bake the geometry nodes for each object (yay blender 4.1!).
Is there a way to bake them all in one ...
3
votes
1
answer
41
views
How to grey out a modifier panel UI element?
I would like to achieve a greyed-out effect similar to this:
Except in the object modifiers menu:
The parameter can be accessed by ...
0
votes
0
answers
38
views
how to get the position of each point for "instance on points" using python
I have a collection called "A" with some objects in it. Now I'm trying to make the objects in A randomly distribute follow a curve "C".
I'm trying to use geometry node "...
3
votes
1
answer
63
views
Show the "Adjust Last Operation" popup when executing node tool with python
I am running a node tool with python, but when it's executed, the Adjust Last Operation panel isn't showing up.
...
2
votes
1
answer
32
views
Python way to setup the Menu Switch default value when exposed to the modifiers input
I need to setup the default value in the geometry modifiers which is from a Menu Switch node. I tried two ways, neither worked.
...
0
votes
0
answers
17
views
How can I create a custom geometry node that runs a Python script? [duplicate]
I'd like to create a completely custom geometry node (not a node group) that for example, takes some input string, reverses it using a Python script, and then returns the output as a string in that ...
6
votes
1
answer
151
views
How can I get the `session_uid` used by the Bake geometry node using Python?
I need to bake a part of my node tree via the bake node for an add-on. This requires a correct session_uid to press the button with Python.
I already tried ...
0
votes
0
answers
27
views
Can't link "Color" to "Value" through bpy in Geometry Node in Blender3.6
I just want to link the Color output of the Image Texture node to Store Named Attributes node, but nothing happened, not even any errors being throw out.
...
1
vote
1
answer
32
views
AttributeError: 'NoneType' object has no attribute 'modifiers'
So I've been trying to add Geo Nodes modifier to a created cube through custom UI panel, even though it works as intended, Blender shows me AttributeError. How can I fix this? (I'm new to coding so ...