How to change Length Units in Geometry object of DataModel Tree?
Ayush Kumar
Member, Moderator, Employee Posts: 442
✭✭✭✭
Answers
-
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:For example -
mm
:ExtAPI.DataModel.Project.Model.Geometry.PropertyByName('CADUnits').InternalValue=2
2