Skip to main content

Prime Mesh Python client library 2024 R2

ControlData

Last update: 17.07.2025

class ansys.meshing.prime.ControlData(model, id, object_id, name)

Contains all controls.

This class contains all controls, including size controls, prism controls, multizone controls and wrapper controls.

  • Parameters: model : Server model to create ControlData object.

    id : Id of the ControlData.

    object_id : Object id of the ControlData.

    name : Name of the ControlData.

Methods

Name Description
ControlData.create_multi_zone_control() Create multizone control with defaults.
ControlData.create_periodic_control() Create a periodic control.
ControlData.create_prism_control() Create a prism control.
ControlData.create_size_control(sizing_type) Create a size control for a sizing type.
ControlData.create_thin_volume_control() Create a thin volume control.
ControlData.create_volume_control() Create a volume control.
ControlData.create_wrapper_control() Create a wrapper control with default values.
ControlData.delete_controls(control_ids) Delete the control for one or more IDs.
ControlData.get_multi_zone_control_by_name(name) Get the multizone control by name.
ControlData.get_multi_zone_controls() Get ids of all the MultiZone controls.
ControlData.get_part_zonelets(scope) Creates an array of part zonelet structure using the input ScopeDefinition.
ControlData.get_periodic_control_by_name(name) Get a periodic control by name.
ControlData.get_prism_control_by_name(name) Get a prism control by name.
ControlData.get_scope_face_zonelets(scope, ...) Get the face zonelet ids for the given scope.
ControlData.get_scope_parts(scope) Get the part ids for the given scope.
ControlData.get_size_control_by_name(name) Get a size control by name.
ControlData.get_thin_volume_control_by_name(name) Get a thin volume control by name.
ControlData.get_volume_control_by_name(name) Get a volume control by name.
ControlData.get_wrapper_control_by_name(name) Get the wrapper control by name.
ControlData.multi_zone_controls() Get the multizone controls.

Attributes

Name Description
ControlData.id Get the id of ControlData.
ControlData.name Get the name of ControlData.
ControlData.periodic_controls Get the periodic controls.
ControlData.prism_controls Get the prism controls.
ControlData.size_controls Get the size controls.
ControlData.thin_volume_controls Get the thin volume controls.
ControlData.volume_controls Get the volume controls.
ControlData.wrapper_controls Get the wrapper controls.

Connect with Ansys