Skip to main content

Prime Mesh Python client library 2024 R1 SP1

ansys.meshing.prime.VolumeControl

Last update: 17.07.2025

VolumeControl

class ansys.meshing.prime.VolumeControl(model, id, object_id, name, local=False)

Defines the scope and type of volume mesh to generate.

  • Parameters: model : Server model to create and modify volume controls from.

    id : ID of the volume control.

    object_id : Object ID of the volume control.

    name : Name of the volume control.

    local : Unused. The default is False.

Methods

VolumeControl.get_params() Get the parameters of the volume control.
VolumeControl.get_scope() Gets the scope for the volume control.
VolumeControl.set_params(volume_control_params) Sets the volume control parameters.
VolumeControl.set_scope(scope) Sets the scope for volume control to evaluate.
VolumeControl.set_suggested_name(name) Set the unique name for the volume control based on a suggested name.

Attributes

VolumeControl.id Get the id of VolumeControl.
VolumeControl.name Get the name of the volume control.

Connect with Ansys