Skip to main content

Prime Mesh Python client library 2026 R1

get_scope_parts

Last update: 02.04.2026

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] 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))

Connect with Ansys