    

 ## On this page

  

 

 # ansys.meshing.prime.VolumeControl

 Last update: 17.07.2025 

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

### Examples

```pycon
&gt;&gt;&gt; volume_control.set_scope(prime.ScopeDefinition(model=model,
&gt;&gt;&gt;                        entity_type = ScopeEntity.VOLUMES,
&gt;&gt;&gt;                        evaluation_type = ScopeEvaluationType.ZONES,
&gt;&gt;&gt;                        zone_expression = "vol_in"))

```