Skip to main content

Prime Mesh Python client library 2026 R1 SP01

set_scope

Last update: 29.04.2026

PeriodicControl.set_scope(scope)

Sets the scope for periodic control to evaluate.

Periodic Control uses scope to evaluate entities for which periodic surface recovery must be carried out.

Parameters:

scope

ScopeDefinition to scope entities for periodic surface recovery.

Returns:

SetScopeResults

Returns the SetScopeResults.

Return type:

SetScopeResults

Examples

>>> surface_scope = prime.ScopeDefinition(model=model,
>>>                     entity_type=prime.ScopeEntity.FACEZONELETS,
>>>                     evaluation_type=prime.ScopeEvaluationType.LABELS,
>>>                     label_expression="periodic-1")
>>> periodic_control.set_scope(surface_scope)

Connect with Ansys