get_face_zonelets_of_zone_name_pattern#
- Part.get_face_zonelets_of_zone_name_pattern(zone_name_pattern, name_pattern_params)#
Get ids of face zonelets of zones with name matching the given name pattern.
- Parameters:
- zone_name_pattern
str
Name pattern to be matched with zone name.
- name_pattern_params
NamePatternParams
Name pattern parameters used to match zone name pattern.
- zone_name_pattern
- Returns:
Iterable
[int
]Return face zonelet ids of zones with name matching the name pattern. Returns an empty list for a topology part.
- Return type:
Examples
>>> name_pattern_params = prime.NamePatternParams(model = model) >>> face_zonelets = part.get_face_zonelets_of_zone_name_pattern("wall*", name_pattern_params)