model_units#
- property Modeler3D.model_units#
Model units as a string. For example,
"mm".This property allows you to get or set the model units. When setting the model units, you can specify whether to rescale the model by adjusting the
rescale_modelattribute.References
>>> oEditor.GetModelUnits >>> oEditor.SetModelUnits
Examples
>>> from ansys.aedt.core import hfss >>> hfss = Hfss() >>> hfss.modeler.model_units = "cm" >>> hfss.modeler.rescale_model = True >>> hfss.modeler.model_units = "mm"