Expose to python if the Viewer node is enabled or not
As far as I could figure out it is not possible to check in python the state between this:
and:
It would be great if it get's exposed cause it allow's to make addons that provide extra functionallity for debugging.
docs.blender.org/api/current/bpy.types.GeometryNodeViewer.html
3 Comments
Now I use this method to find the name of active Viewer node.
import bpy for area in bpy.context.screen.areas: if area.type == "SPREADSHEET": view_name = area.spaces[0].viewer_path.path[-1].ui_name
Thx, might be usefull some day. The downside is that the spreadsheet editor has to be open. For the rest nice find!
Maybe it can be exposed using the
muteoption. Since viewer nodes can't get muted. That way no new properties have to be introduced.