How to change Length Units in Geometry object of DataModel Tree?
Manually set the unit first, retrieve the internal value of the property CADUnits and then use it in the Automation script. Not a very good solution, if anyone has better ideas please share:
CADUnits
For example - mm:
mm
ExtAPI.DataModel.Project.Model.Geometry.PropertyByName('CADUnits').InternalValue=2