mesh_to_mc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.utility
Summary
Creates a meshes container containing the mesh provided on pin 0.
available inputs: mesh (MeshedRegion, MeshesContainer), label (LabelSpace)
available outputs: meshes_container (MeshesContainer)
Example
op = mesh_to_mc()
op = mesh_to_mc(mesh=my_mesh,label=my_label)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.utility |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
mesh
If a meshes container is set in input, it is passed on as an output with the additional label space (if any).
Type: LinkableInput
label
Sets a label space.
Type: LinkableInput
Outputs
meshes_container
Type: LinkableOutput
Constructors
Constructor
mesh_to_mc()
Constructor
mesh_to_mc(mesh, label, config)
Parameters:
mesh(object)label(object)config(OperatorConfig)
Constructor
mesh_to_mc(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig