DatumPoint#

class ansys.geometry.core.designer.datumpoint.DatumPoint(id: str, name: str, point: ansys.geometry.core.math.point.Point3D, parent_component: ansys.geometry.core.designer.component.Component)#

Provides for creating datum points in components.

Parameters:
idstr

Server-defined ID for the datum point.

namestr

User-defined label for the datum point.

pointPoint3D

3D point constituting the datum point.

parent_componentComponent

Parent component to place the new datum point under within the design assembly.

Overview#

get_named_selections

Get named selections that contain this datum point.

id

ID of the datum point.

name

Name of the datum point.

value

Value of the datum point.

parent_component

Component node that the datum point is under.

is_alive

Check if the datum point is still present on the server.

__repr__

Represent the datum point as a string.

Import detail#

from ansys.geometry.core.designer.datumpoint import DatumPoint

Property detail#

property DatumPoint.id: str#

ID of the datum point.

property DatumPoint.name: str#

Name of the datum point.

property DatumPoint.value: ansys.geometry.core.math.point.Point3D#

Value of the datum point.

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

Component node that the datum point is under.

property DatumPoint.is_alive: bool#

Check if the datum point is still present on the server.

Method detail#

DatumPoint.get_named_selections() list[ansys.geometry.core.designer.selection.NamedSelection]#

Get named selections that contain this datum point.

Returns:
list[NamedSelection]

List of named selections that contain this datum point.

DatumPoint.__repr__() str#

Represent the datum point as a string.