set_scope#

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:
scopeScopeDefinition

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