Skip to main content

Prime Mesh Python client library 2026 R1 SP01

set_scope

Last update: 29.04.2026

SizeControl.set_scope(scope)

Set the scope for size control to evaluate.

Size control uses scope to evaluate entities for which size field needs to be computed.

Parameters:

scope

ScopeDefinition to scope entities for size field computation.

Returns:

SetScopeResults

Return a SetScopeResults.

Return type:

SetScopeResults

Examples

>>> size_control.set_scope(prime.ScopeDefinition(model=model,
>>>                        entity_type = ScopeEntity.FACEZONELETS,
>>>                        evaluation_type = ScopeEvaluationType.LABELS,
>>>                        label_expression = "inlet"))

Connect with Ansys