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_system
str,CoordinateSystem Name of the destination reference system. The
CoordinateSystemobject can also be used.
- coordinate_system
- Returns:
tupleList 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")