    

 ## On this page

  

 

 # ansys.meshing.prime.SizeControl

 Last update: 17.07.2025 

#### 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`](ansys.meshing.prime.SetScopeResults.md#ansys.meshing.prime.SetScopeResults): Return a SetScopeResults.
- **Return type:**[`SetScopeResults`](ansys.meshing.prime.SetScopeResults.md#ansys.meshing.prime.SetScopeResults)

### Examples

```pycon
&gt;&gt;&gt; size_control.set_scope(prime.ScopeDefinition(model=model,
&gt;&gt;&gt;                        entity_type = ScopeEntity.FACEZONELETS,
&gt;&gt;&gt;                        evaluation_type = ScopeEvaluationType.LABELS,
&gt;&gt;&gt;                        label_expression = "inlet"))

```