addon
Blender-Addons: Get Nodetree of current node_editor panel
If you want to access data from the selected nodetree inside a node_editor panel: class UrhoExportNodetreePanel(bpy.types.Panel): bl_space_type = 'NODE_EDITOR' bl_region_type = 'UI' bl_label = "Urho3d-Nodetree" bl_category = "Urho3D" @classmethod def poll(cls, context): return True