Skip to main content

Prime Mesh Python client library 2024 R2

VolumeControl

Last update: 17.07.2025

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 VolumeControl object.

    id : Id of the VolumeControl.

    object_id : Object id of the VolumeControl.

    name : Name of the VolumeControl.

Methods

Name Description
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

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

Connect with Ansys