> ## 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_scope_parts

#### ControlData.get\_scope\_parts(scope)

Get the part ids for the given scope.

* **Parameters:**

  **scope**
  : Scope definition to evaluate the part ids.

* **Returns:**

  `Iterable`\[[`int`](https://docs.python.org/3.11/library/functions.html#int)]
  : Return the ids of parts.

* **Return type:**

  [`Iterable`](https://docs.python.org/3.11/library/typing.html#typing.Iterable)\[[`int`](https://docs.python.org/3.11/library/functions.html#int)]

### Examples

```python theme={null}
>>> part_ids = model.control_data.get_scope_parts(
>>>                 prime.ScopeDefinition(model = model,
>>>                 part_expression = "*"),
>>>                 prime.ScopeZoneletParams(model =model))
```
