Skip to main content

Prime Mesh Python client library 2024 R2

PrismControl

Last update: 17.07.2025

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_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_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