Post #4403: Does anyone know how to load Node groups? Built-in nodes can be loaded with ‘bpy

📋 Metadata

🏷️ Tags

macro scripting advanced unsolved

  • Macro Editor
  • Python Scripting

💬 Content

Does anyone know how to load Node groups? Built-in nodes can be loaded with ‘bpy.ops.node.add_node(type=‘NodeName’, use_transform=True)’, but with GN groups, it records it as ‘bpy.ops.node.add_node(type=‘GeometryNodeGroup’, use_transform=True) and setting the Type to be the name of a group doesn’t work…

More than this, I’d love to set up a macro that loads these from an external blend, but I can’t find any way to automate Appending from external, so for now I have them saved in my startup.blend.


🔗 View on Blender Artists