UnsupportedCommands#
- class ansys.geometry.core.tools.unsupported.UnsupportedCommands(grpc_client: ansys.geometry.core.connection.GrpcClient, modeler: ansys.geometry.core.modeler.Modeler, _internal_use: bool = False)#
Provides unsupported commands for PyAnsys Geometry.
- Parameters:
- grpc_client
GrpcClient gRPC client to use for the geometry commands.
- modeler
Modeler Modeler instance to use for the geometry commands.
- _internal_usebool,
optional Internal flag to prevent direct instantiation by users. This parameter is for internal use only.
- grpc_client
- Raises:
GeometryRuntimeErrorIf the class is instantiated directly by users instead of through the modeler.
Notes
This class should not be instantiated directly. Use
modeler.unsupportedinstead.
Overview#
Set the persistent id for the moniker. |
|
Set multiple persistent ids for the monikers. |
|
Get all body occurrences whose master has the given import id. |
|
Get all face occurrences whose master has the given import id. |
|
Get all edge occurrences whose master has the given import id. |
Import detail#
from ansys.geometry.core.tools.unsupported import UnsupportedCommands
Method detail#
- UnsupportedCommands.set_export_id(moniker: str, id_type: PersistentIdType, value: str) None#
Set the persistent id for the moniker.
- Parameters:
Warning
This method is only available starting on Ansys release 25R2.
- UnsupportedCommands.set_multiple_export_ids(export_data: list[ExportIdData]) None#
Set multiple persistent ids for the monikers.
- Parameters:
- export_data
list[ExportIdData] List of export data containing monikers, id types, and values.
- export_data
Warning
This method is only available starting on Ansys release 26R1.
- UnsupportedCommands.get_body_occurrences_from_import_id(import_id: str, id_type: PersistentIdType) list[ansys.geometry.core.designer.body.Body]#
Get all body occurrences whose master has the given import id.
- UnsupportedCommands.get_face_occurrences_from_import_id(import_id: str, id_type: PersistentIdType) list[ansys.geometry.core.designer.face.Face]#
Get all face occurrences whose master has the given import id.
- UnsupportedCommands.get_edge_occurrences_from_import_id(import_id: str, id_type: PersistentIdType) list[ansys.geometry.core.designer.edge.Edge]#
Get all edge occurrences whose master has the given import id.