Is there a way to access the current/active graph in the Node Editor via the Python API? I'm trying to write some node layout helpers (Align Horizontal/Vertical) but I'm not finding the information I'm looking for.
- How can I get the current graph that's visible/active in the Node editor?
c4d.GetActiveNodeSpaceId()doesn't change when I switch from material nodes to scene nodes.
- Even for a materials-only mode, the selection state of a material doesn't indicate which graph is currently selected.
- How do we determine which of the open node editors is active (like in Edit Asset mode)?