Area (Timeline/Graph etc) zoom and pan factor in API
I could use a direct way of accesing the current editors zoom factor and pan position for an addon I develop right now.
I wasn't able to find a solution yet.
What if this would be part of the blender api? Great? Beyong great!
Since bpy.context.area.width and bpy.context.area.height are available it could be like:
bpy.context.area.zoom
bpy.context.area.pan
1 Comment
I suggest you put this post to the "scripting" category instead of UI