get_topo_faces_of_label_name_pattern#

Part.get_topo_faces_of_label_name_pattern(label_name_pattern, name_pattern_params)#

Get topoface ids of labels with name matching the given name pattern.

Parameters:
label_name_patternstr

Name pattern to be matched with label name.

name_pattern_paramsNamePatternParams

Name pattern parameters used to match label name pattern.

Returns:
Iterable[int]

Return the ids of topofaces.

Return type:

Iterable[int]

Examples

>>> topo_faces = part.get_topo_faces_of_label_name_pattern(
>>>                   label_name_pattern = "face_label",
>>>                   params = prime.NamePatternParams(model=model))