3.6

Creating Inputs and Outputs for Node Groups in Blender 3.6 using the Python API

The easiest way to create new inputs and outputs for node groups is to press the plus button in the node group editing mode (tab) on the N-panel on the “Group” section. However, when creating node groups using the Blender Python API, this method is not available.

Creating a link to a new socket of the Group Output node in Blender Geometry Nodes

By default, the Group Output node from Blender Geometry Nodes node tree, has two inputs. The first one, with index 0, is the base input for the geometry. The second input, with index 1, is virtual, used to create new inputs – when we connect a link to it, a new input of a certain type is automatically created on its place.