I want to get the coordinates of a vertex in the correct units, millimeters in this case for the current model, to do some calculations in external to blender module.
When changing the units of a scene in blender 2.82 all fields in the UI show the correct size, for example 100mm and 1mm in object and edit modes. So a vertex will show the location of 1000mm in the default cube for example.
But when accessing the same coordinate through Python code as follows:
bpy.data.objects['Cube'].data.vertices[x].co
the data that we will get for the same vertex will be 1.0, meaning it remains in meters.
Any ideas as to how to get the coordinates/sizes in the correct units in Blender Python API?