reference_cs_to_global#

Modeler2D.reference_cs_to_global(coordinate_system: str | CoordinateSystem) → tuple[list, Quaternion]#

Get the origin and quaternion defining the coordinate system in the global coordinates.

Parameters:
coordinate_systemstr, CoordinateSystem

Name of the destination reference system. The CoordinateSystem object can also be used.

Returns:
tuple

List of the [x, y, z] coordinates of the origin and the quaternion defining the coordinate system in the global coordinates.

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.reference_cs_to_global(coordinate_system="Global")