CoordinateSystem#

class ansys.geometry.core.designer.coordinate_system.CoordinateSystem(name: str, frame: ansys.geometry.core.math.frame.Frame, parent_component: ansys.geometry.core.designer.component.Component, grpc_client: ansys.geometry.core.connection.client.GrpcClient, preexisting_id: beartype.typing.Optional[str] = None)#

Represents a user-defined coordinate system within the design assembly.

This class synchronizes to a design within a supporting Geometry service instance.

Parameters:
namestr

User-defined label for the coordinate system.

frameFrame

Frame defining the coordinate system bounds.

parent_componentComponent, default: Component

Parent component the coordinate system is assigned against.

grpc_clientGrpcClient

Active supporting Geometry service instance for design modeling.

Overview#

id

ID of the coordinate system.

name

Name of the coordinate system.

frame

Frame of the coordinate system.

parent_component

Parent component of the coordinate system.

is_alive

Flag indicating if coordinate system is still alive on the server side.

__repr__

Represent the coordinate system as a string.

Import detail#

from ansys.geometry.core.designer.coordinate_system import CoordinateSystem

Property detail#

property CoordinateSystem.id: str#

ID of the coordinate system.

property CoordinateSystem.name: str#

Name of the coordinate system.

property CoordinateSystem.frame: ansys.geometry.core.math.frame.Frame#

Frame of the coordinate system.

property CoordinateSystem.parent_component: ansys.geometry.core.designer.component.Component#

Parent component of the coordinate system.

property CoordinateSystem.is_alive: bool#

Flag indicating if coordinate system is still alive on the server side.

Method detail#

CoordinateSystem.__repr__() str#

Represent the coordinate system as a string.