mesh_extraction class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.mesh
Summary
Take a mesh and a scoping (elemental or nodal) and create a new mesh that contains this selection only.
available inputs: mesh (MeshedRegion), mesh_scoping (Scoping), extension (Int32) (optional)
available outputs: meshed_region (MeshedRegion)
Example
op = mesh_extraction()
op = mesh_extraction(mesh=my_mesh,mesh_scoping=my_mesh_scoping,extension=my_extension)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.mesh |
| Assembly | meshOperatorsCore_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
mesh
Type: LinkableInput
mesh_scoping
Type: LinkableInput
extension
Number of extension layer
Type: LinkableInput
Outputs
meshed_region
Type: LinkableOutput
Constructors
Constructor
mesh_extraction()
Constructor
mesh_extraction(mesh, mesh_scoping, extension, config)
Parameters:
mesh(object)mesh_scoping(object)extension(object)config(OperatorConfig)
Constructor
mesh_extraction(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