Skip to main content

Prime Mesh Python client library 2026 R1

get_components_by_path_expression

Last update: 02.04.2026

Part.get_components_by_path_expression(path_expression)

Gets component names with the provided path expression.

Parameters:

path_expression

Path expression to determine component names that should be returned.

Returns:

List[str] Returns a list of component names.

Return type:

List[str]

Notes

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

Examples

>>> results = part.get_components_by_path_expression(path_expression)

Connect with Ansys