    

 ## On this page

  

 

 # PrismControl

 Last update: 17.07.2025 

<a id="ansys.meshing.prime.PrismControl"></a>

### *class* ansys.meshing.prime.PrismControl(model, id, object\_id, name)

PrismControl allows you to generate prisms.

PrismControl allows you to control generation of prisms. Controls include setting the face scope, volume scope and growth parameters.

- **Parameters:**
    
    **model**: Server model to create PrismControl object.
    
    **id**: Id of the PrismControl.
    
    **object\_id**: Object id of the PrismControl.
    
    **name**: Name of the PrismControl.

### Methods

NameDescription[`PrismControl.get_surface_scope`](ansys.meshing.prime.PrismControl.get_surface_scope.md#ansys.meshing.prime.PrismControl.get_surface_scope)()Gets the surface control scope.[`PrismControl.get_volume_scope`](ansys.meshing.prime.PrismControl.get_volume_scope.md#ansys.meshing.prime.PrismControl.get_volume_scope)()Gets the volume control scope.[`PrismControl.set_growth_params`](ansys.meshing.prime.PrismControl.set_growth_params.md#ansys.meshing.prime.PrismControl.set_growth_params)(...)Set growth parameters for prism control.[`PrismControl.set_surface_scope`](ansys.meshing.prime.PrismControl.set_surface_scope.md#ansys.meshing.prime.PrismControl.set_surface_scope)(entities)Sets the surface control scope.[`PrismControl.set_volume_scope`](ansys.meshing.prime.PrismControl.set_volume_scope.md#ansys.meshing.prime.PrismControl.set_volume_scope)(entities)Sets the volume control scope.### Attributes

NameDescription[`PrismControl.id`](ansys.meshing.prime.PrismControl.id.md#ansys.meshing.prime.PrismControl.id)Get the id of PrismControl.[`PrismControl.name`](ansys.meshing.prime.PrismControl.name.md#ansys.meshing.prime.PrismControl.name)Get the name of PrismControl.