> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_components_by_path_expression

#### 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`](https://docs.python.org/3.11/library/stdtypes.html#str)]
  : Returns a list of component names.

* **Return type:**

  [`List`](https://docs.python.org/3.11/library/typing.html#typing.List)\[[`str`](https://docs.python.org/3.11/library/stdtypes.html#str)]

### Notes

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

### Examples

```python theme={null}
>>> results = part.get_components_by_path_expression(path_expression)
```
