Skip to main content

Prime Mesh Python client library 2024 R1 SP1

ansys.meshing.prime.WrapperControl

Last update: 17.07.2025

WrapperControl

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

Provides all parameters and controls used for wrapping.

  • Parameters: model : Server model to create and modify wrapper controls from.

    id : ID of the wrapper control.

    object_id : Object ID of the wrapper control.

    name : Name of the wrapper control

Methods

WrapperControl.get_geometry_scope() Gets geometry scope of wrapper control.
WrapperControl.get_live_material_points() Gets list of material point names.
WrapperControl.set_contact_preventions(params) Set contact preventions to the wrapper control.
WrapperControl.set_feature_recoveries(params) Set feature recoveries to the wrapper control.
WrapperControl.set_geometry_scope(scope) Sets geometry scope to given scope.
WrapperControl.set_leak_preventions(params) Set leak preventions to the wrapper control.
WrapperControl.set_live_material_points(...) Set live material points to the wrapper control.
WrapperControl.set_shadow_geometry_scope(scope) Sets shadow geometry scope to given scope.
WrapperControl.set_suggested_name(name) Set the unique name for the wrapper control based on a suggested name.
WrapperControl.set_suggested_wrapper_part_name(name) Sets the given name for the created wrapper part after wrapping with the wrapper control.

Attributes

WrapperControl.id Get the id of WrapperControl.
WrapperControl.name Get the name of the wrapper control.

Connect with Ansys