Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class MesherHelper

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

This class is to represent the mesh helper

public class MesherHelper

Inheritance

objectMesherHelper

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

MesherHelper(string)

Initializes a new instance of the class.

public MesherHelper(string strMesherPath)

Parameters

strMesherPath string

The string mesher path.

Methods

Dispose(bool)

[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)

Parameters

A_0 bool

Dispose()

Finalizes an instance of the class.

public override sealed void Dispose()

~MesherHelper()

!s the mesher helper.

protected ~MesherHelper()

GetTetraPosAndConn(List, List)

public void GetTetraPosAndConn(List<vectorbase> lstPos, List<uint> lstConty)

Parameters

lstPos ListVectorBase&gt;

lstConty Listuint&gt;

GetTetraPosAndConn(vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;*, vector &gt;*)

public void GetTetraPosAndConn(vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;* vecPos, vector<unsigned int> &gt;* vecConty)

Parameters

vecPos vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;*

vecConty [vector &gt;](std.vector MesherExecute(basic_string,std::allocator &gt;*, vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;*, vector &gt;*, bool, bool, basic_string,std::allocator &gt;*)

public bool MesherExecute(basic_string<wchar_t>,std::allocator<wchar_t> &gt;* strNasPath, vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;* arvPosition, vector<unsigned int> &gt;* arConnectivities, bool bUseSurfRemesh, bool bMesher, basic_string<wchar_t>,std::allocator<wchar_t> &gt;* strOutputType)

Parameters

strNasPath [basic_string,std::allocator &gt;](std.basic_string &gt;](std.vector_VM_VECTOR,std.md)*

arConnectivities [vector &gt;](std.vector,std::allocator &gt;](std.basic_string MesherExecuteCLR(string, List, List, bool, bool, string)

public bool MesherExecuteCLR(string strNasPathCLR, List<vectorbase> lstPosition, List<uint> lstConnectivities, bool bUseSurfRemesh, bool bMesher, string strOutputTypeCLR)

Parameters

strNasPathCLR string

lstPosition ListVectorBase&gt;

lstConnectivities Listuint&gt;

bUseSurfRemesh bool

bMesher bool

strOutputTypeCLR string

Returns

bool

RunTetraMesher(vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;*, vector &gt;*)

public bool RunTetraMesher(vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;* vecPosTria, vector<unsigned int> &gt;* vecConnTria)

Parameters

vecPosTria vector_VM_VECTOR,std::allocator_VM_VECTOR&gt; &gt;*

vecConnTria [vector &gt;](std.vector RunTetraMesherCLR(List, List)

public bool RunTetraMesherCLR(List<vectorbase> vecPosTria, List<uint> vecConnTria)

Parameters

vecPosTria ListVectorBase&gt;

vecConnTria Listuint&gt;

Returns

bool

</wchar_t></wchar_t></wchar_t></wchar_t>

Connect with Ansys