> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class MesherHelper

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the mesh helper

```csharp theme={null}
public class MesherHelper
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.MesherHelper.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### MesherHelper(string)

Initializes a new instance of the [MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.MesherHelper.md) class.

```csharp theme={null}
public MesherHelper(string strMesherPath)
```

#### Parameters

`strMesherPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The string mesher path.

## Methods

### Dispose(bool)

```csharp theme={null}
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
```

#### Parameters

`A_0` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose()

Finalizes an instance of the [MesherHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.MesherHelper.md) class.

```csharp theme={null}
public override sealed void Dispose()
```

### \~MesherHelper()

!s the mesher helper.

```csharp theme={null}
protected ~MesherHelper()
```

### GetTetraPosAndConn(List\<VectorBase>, List\<uint>)

```csharp theme={null}
public void GetTetraPosAndConn(List<VectorBase> lstPos, List<uint> lstConty)
```

#### Parameters

`lstPos` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.VectorBase.md)>

`lstConty` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[uint](https://learn.microsoft.com/dotnet/api/system.uint32)>

### GetTetraPosAndConn(vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*, vector\<unsigned int,std::allocator\<unsigned int> >\*)

```csharp theme={null}
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> >](std.vector\<_VM_VECTOR,std.md)\*

`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> >\*)

```csharp theme={null}
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> >](std.basic_string\<wchar_t,std.md)\*

`arvPosition` [vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >](std.vector\<_VM_VECTOR,std.md)\*

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

`bUseSurfRemesh` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bMesher` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`strOutputType` [basic\_string\<wchar\_t,std::char\_traits\<wchar\_t>,std::allocator\<wchar\_t> >](std.basic_string\<wchar_t,std.md)\*

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

```csharp theme={null}
public bool MesherExecuteCLR(string strNasPathCLR, List<VectorBase> lstPosition, List<uint> lstConnectivities, bool bUseSurfRemesh, bool bMesher, string strOutputTypeCLR)
```

#### Parameters

`strNasPathCLR` [string](https://learn.microsoft.com/dotnet/api/system.string)

`lstPosition` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.VectorBase.md)>

`lstConnectivities` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[uint](https://learn.microsoft.com/dotnet/api/system.uint32)>

`bUseSurfRemesh` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bMesher` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`strOutputTypeCLR` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RunTetraMesher(vector\<\_VM\_VECTOR,std::allocator\<\_VM\_VECTOR> >\*, vector\<unsigned int,std::allocator\<unsigned int> >\*)

```csharp theme={null}
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> >](std.vector\<_VM_VECTOR,std.md)\*

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

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

```csharp theme={null}
public bool RunTetraMesherCLR(List<VectorBase> vecPosTria, List<uint> vecConnTria)
```

#### Parameters

`vecPosTria` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.VectorBase.md)>

`vecConnTria` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[uint](https://learn.microsoft.com/dotnet/api/system.uint32)>

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
