← All ideas
  • Published 11 Aug 2022

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

0%

Development Status: Open

Upvote 0 Downvote 0
tichy
11 Aug 2022

1 Comment

Lauloque

I suggest you put this post to the "scripting" category instead of UI