get_scope_parts#

ControlData.get_scope_parts(scope)#

Get the part ids for the given scope.

Parameters:
scopeScopeDefinition

Scope definition to evaluate the part ids.

Returns:
:
Iterable[int]

Return the ids of parts.

Return type:

Iterable[int]

Examples

>>> part_ids = model.control_data.get_scope_parts(
>>>                 prime.ScopeDefinition(model = model,
>>>                 part_expression = "*"),
>>>                 prime.ScopeZoneletParams(model =model))