rescale_to#

Variable.rescale_to(units: str) Variable#

Rescale the expression to the provided units within the same unit system.

Returns:
ansys.aedt.core.application.variables.Variable

Examples

>>> from ansys.aedt.core.application.variables import Variable
>>> var = Variable("10mm")
>>> var.rescale_to("cm")