NamedSelection
#
- class ansys.geometry.core.designer.selection.NamedSelection(name: str, grpc_client: ansys.geometry.core.connection.client.GrpcClient, bodies: list[ansys.geometry.core.designer.body.Body] | None = None, faces: list[ansys.geometry.core.designer.face.Face] | None = None, edges: list[ansys.geometry.core.designer.edge.Edge] | None = None, beams: list[ansys.geometry.core.designer.beam.Beam] | None = None, design_points: list[ansys.geometry.core.designer.designpoint.DesignPoint] | None = None, preexisting_id: str | None = None)#
Represents a single named selection within the design assembly.
This class synchronizes to a design within a supporting Geometry service instance.
A named selection organizes one or more design entities together for common actions against the entire group.
- Parameters:
- name
str
User-defined name for the named selection.
- grpc_client
GrpcClient
Active supporting Geometry service instance for design modeling.
- bodies
list
[Body
], default:None
All bodies to include in the named selection.
- faces
list
[Face
], default:None
All faces to include in the named selection.
- edges
list
[Edge
], default:None
All edges to include in the named selection.
- beams
list
[Beam
], default:None
All beams to include in the named selection.
- design_points
list
[DesignPoints
], default:None
All design points to include in the named selection.
- name
Overview#
Import detail#
from ansys.geometry.core.designer.selection import NamedSelection