Skip to main content

Prime Mesh Python client library 2025 R2

get_scope_parts

Last update: 10.09.2025

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