Model.get_part_by_name(name)
Get the part by name.- Parameters: name : Name of the part.
-
Returns:
Part: Part orNoneif the given part name doesn’t exist. -
Return type:
Part
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Part
: Part or None if the given part name doesn’t exist.
Part
>>> from ansys.meshing.prime import Model
>>> model = client.model
>>> part = model.get_part_by_name("part.1")
Was this page helpful?