> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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:**

**scope**

ScopeDefinition to scope entities for size field computation.

**Returns:**

**[`SetScopeResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.SetScopeResults)**

Return a SetScopeResults.

**Return type:**

[`SetScopeResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.SetScopeResults)

### Examples

```python theme={null}
>>> size_control.set_scope(prime.ScopeDefinition(model=model,
>>>                        entity_type = ScopeEntity.FACEZONELETS,
>>>                        evaluation_type = ScopeEvaluationType.LABELS,
>>>                        label_expression = "inlet"))
```
