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

#### VolumeControl.set\_scope(scope)

Sets the scope for volume control to evaluate.

Volume control uses scope to evaluate entities for which volume mesh needs to be generated.

* **Parameters:**

  **scope**
  : ScopeDefinition to scope entities for volume mesh generation.

* **Returns:**

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

* **Return type:**

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

### Examples

```python theme={null}
>>> volume_control.set_scope(prime.ScopeDefinition(model=model,
>>>                        entity_type = ScopeEntity.VOLUMES,
>>>                        evaluation_type = ScopeEvaluationType.ZONES,
>>>                        zone_expression = "vol_in"))
```
