The workbench Geometry length unit is mm. But when I use ironPython API to get geometry Centroid, the result unit seems m and the mesh node.X seems also m.
So how to get the Centroid length unit and MeshData units ?
analysis = Model.Analyses[0]
face = analysis.GeoData.GeoEntityById(44)
faceCenter = face.Centroid
# The Centroid unit seems m, but the workbench geometry model is mm
modelMesh = analysis.MeshData
node = modelMesh.NodeById(1)
node.X
# The node coordinate unit seems m
I am confused by the ironPython API results.
So is there any description about the units or how to get these units ?
