Skip to main content

Prime Mesh Python client library 2025 R2 SP04

PrismControl

Last update: 20.02.2026

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

Name Description
PrismControl.get_growth_params() Gets the prism parameters for prism control.
PrismControl.get_surface_scope() Gets the surface control scope.
PrismControl.get_volume_scope() Gets the volume control scope.
PrismControl.set_growth_params(...) Set growth parameters for prism control.
PrismControl.set_suggested_name(name) Sets the unique name for the prism control based on the suggested name.
PrismControl.set_surface_scope(entities) Sets the surface control scope.
PrismControl.set_volume_scope(entities) Sets the volume control scope.

Attributes

Name Description
PrismControl.id Get the id of PrismControl.
PrismControl.name Get the name of PrismControl.

Connect with Ansys