Skip to main content

Prime Mesh Python client library 2024 R1 SP1

ansys.meshing.prime.PrismControl

Last update: 17.07.2025

PrismControl

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.

Methods

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

PrismControl.id Get the id of PrismControl.
PrismControl.name Get the name of PrismControl.

Connect with Ansys