Skip to main content

Prime Mesh Python client library 2025 R2 SP02

get_components_by_path_expression

Last update: 16.10.2025

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