Can you access the distance values from the numeric input? in my Blender 2.92 scene file, you can find the numeric input in the top left corner of the viewport (important, the numeric input only shows when transforming an object). what i'm inquiring about, is the local information displayed by the numeric input. using the cube with a random orientation, i can transform the object a distance of 1 unit along the local y axis ...regardless of the objects orientation, the numeric input will then display a distance value of 1 (or -1 depending on the direction we moved the object) as well as the normalized distance value of 1. although the transform channels themselves update to reflect the objects new world position, i'm actually trying to save that distance value from the numeric input.
does anyone know if this information is stored somewhere? i'm specifically looking to create a custom property that stores the distance values, and it needs to update based on user input in real-time. i'm understanding this as something that could become quite complex to develop from scratch, but the numeric input already shares all of this information in real-time. any insight into this inquiry is much appreciated!
From the window manager's operators collection.
A very simplistic answer to how to get the values used in the transform translate operator. Other things to consider would be looking for edit mode switches. How to keep track of what objects have context at the time etc
Looking in info area after translating will see the python name of the operator, from which we can get the idname
&gt;&gt;&gt; bpy.ops.transform.translate.idname()
'TRANSFORM_OT_translate'

Make some moves.
Translate 4 locally in $Y$ GYY 4 ,then -5 locally in $X$ GXX -5  and finally 3 in $Z$ GZZ 3
Get the details from python console.
Off to the python console, and get the details of the translations made using operator via UI above.
&gt;&gt;&gt; wm = C.window_manager

&gt;&gt;&gt; for op in wm.operators:
...     if op.bl_idname.startswith('TRANSFORM'):
...         props = op.properties
...         props.orient_type, props.value
...         
('LOCAL', Vector((0.0, 4.9, 0.0)))
('LOCAL', Vector((-5.0, -0.0, -0.0)))
('LOCAL', Vector((0.0, 0.0, 3.0)))

Another option is
&gt;&gt;&gt; wm.operator_properties_last(&quot;transform.translate&quot;)
&lt;bpy_struct, TRANSFORM_OT_translate at 0x7f0df251cb48&gt;

&gt;&gt;&gt; props = wm.operator_properties_last(&quot;transform.translate&quot;)
&gt;&gt;&gt; props.value
Vector((0.0, 0.0, 3.0))