get_face_zonelets_of_component_body_name_pattern#

Part.get_face_zonelets_of_component_body_name_pattern(component_body_name_pattern, type, name_pattern_params)#

Gets face zonelet ids belonging to components or bodies with name matching the given name pattern.

Parameters:
component_body_name_patternstr

Name pattern to be matched with component or body names.

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 face zonelet ids of labels with name matching the name pattern. Returns an empty list for a topology part.

Return type:

Iterable[int]

Notes

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

Examples

>>> name_pattern_params = prime.NamePatternParams(model = model)
>>> face_zonelets = part.get_face_zonelets_of_component_body_pattern("/body*", type, name_pattern_params)