reference_cs_to_global#

Modeler3D.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.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.reference_cs_to_global(coordinate_system="Global")