get_topo_faces_of_component_body_name_pattern#

Part.get_topo_faces_of_component_body_name_pattern(component_body_name_pattern, type, name_pattern_params)#

Gets topoface ids of component or bodies with name matching the given name pattern.

Parameters:
component_body_name_patternstr

Name pattern to be matched with component or body name.

typeBodyQueryType

Type of query used to match component or body name pattern.

name_pattern_paramsNamePatternParams

Name pattern parameters used to match component or body name pattern.

Returns:
:
Iterable[int]

Returns the ids of topofaces.

Return type:

Iterable[int]

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> topo_faces = part.get_topo_faces_of_component_body_name_pattern(
>>>                   component_body_name_pattern = "body*",
>>>                   type = BodyQueryType_All,
>>>                   params = prime.NamePatternParams(model=model))