Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.PeriodicControl

Last update: 17.07.2025

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