Skip to main content

Motion Standalone Preprocessor C# library 2024 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

object ← MesherHelper

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(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<VectorBase>, List<uint>)

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

Parameters

lstPos List<VectorBase>

lstConty List<uint>

GetTetraPosAndConn(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*)

public void GetTetraPosAndConn(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecPos, vector<unsigned int,std::allocator<unsigned int> >* vecConty)

Parameters

vecPos vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*

vecConty [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)*

MesherExecute(basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >*, vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*, bool, bool, basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >*)

public bool MesherExecute(basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* strNasPath, vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* arvPosition, vector<unsigned int,std::allocator<unsigned int> >* arConnectivities, bool bUseSurfRemesh, bool bMesher, basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* strOutputType)

Parameters

strNasPath basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >*

arvPosition vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*

arConnectivities [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)*

bUseSurfRemesh bool

bMesher bool

strOutputType basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >*

Returns

bool

MesherExecuteCLR(string, List<VectorBase>, List<uint>, bool, bool, string)

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

Parameters

strNasPathCLR string

lstPosition List<VectorBase>

lstConnectivities List<uint>

bUseSurfRemesh bool

bMesher bool

strOutputTypeCLR string

Returns

bool

RunTetraMesher(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*, vector<unsigned int,std::allocator<unsigned int> >*)

public bool RunTetraMesher(vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >* vecPosTria, vector<unsigned int,std::allocator<unsigned int> >* vecConnTria)

Parameters

vecPosTria vector<_VM_VECTOR,std::allocator<_VM_VECTOR> >*

vecConnTria [vector<unsigned int,std::allocator<unsigned int> >](std.vector<unsigned int,std.md)*

Returns

bool

RunTetraMesherCLR(List<VectorBase>, List<uint>)

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

Parameters

vecPosTria List<VectorBase>

vecConnTria List<uint>

Returns

bool

Connect with Ansys