Skip to main content

Prime Mesh Python client library 2026 R1

get_topo_faces_of_label_name_pattern

Last update: 02.04.2026

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_pattern

Name pattern to be matched with label name.

name_pattern_params

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))

Connect with Ansys