> ## 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 MeshFile

Namespace: [VM.Models.FE.Mesh](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh)\
Assembly: VM.Models.FE.Mesh.dll

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

#### Inheritance

object ←
[MeshFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.MeshFile.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_),
[BDFWriter.WriteBDFFile(MeshFile, string, Action\<TextWriter>, Action\<TextWriter>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_String_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__),
[BDFWriter.WriteBDFFile(MeshFile, Stream, Action\<TextWriter>, Action\<TextWriter>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_IO_Stream_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__),
[BDFWriter.WriteBDFFile(MeshFile, TextWriter, Action\<TextWriter>, Action\<TextWriter>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_IO_TextWriter_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__),
[NeutralWriter.WriteNeutralFile(MeshFile, string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_String_),
[NeutralWriter.WriteNeutralFile(MeshFile, Stream)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_IO_Stream_),
[NeutralWriter.WriteNeutralFile(MeshFile, BinaryWriter)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_IO_BinaryWriter_)

## Constructors

### MeshFile()

```csharp theme={null}
public MeshFile()
```

## Properties

### IsTemporary

```csharp theme={null}
protected bool IsTemporary { get; set; }
```

#### Property Value

bool

## Methods

### Add(object)

```csharp theme={null}
public void Add(object obj)
```

#### Parameters

`obj` object

### AddBunch(IEnumerable)

```csharp theme={null}
public void AddBunch(IEnumerable enumObjs)
```

#### Parameters

`enumObjs` IEnumerable

### Connect(string)

```csharp theme={null}
public static MeshFile Connect(string pathMeshFile)
```

#### Parameters

`pathMeshFile` string

#### Returns

[MeshFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.MeshFile.md)

### Create(string)

```csharp theme={null}
public static MeshFile Create(string pathMeshFile)
```

#### Parameters

`pathMeshFile` string

#### Returns

[MeshFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.MeshFile.md)

### CreateTable\<T>()

```csharp theme={null}
protected void CreateTable<T>() where T : new()
```

#### Type Parameters

`T`

### CreateTemporary()

```csharp theme={null}
public static MeshFile CreateTemporary()
```

#### Returns

[MeshFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.FE.Mesh.MeshFile.md)

### Dispose()

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

### Dispose(bool)

```csharp theme={null}
protected virtual void Dispose(bool disposing)
```

#### Parameters

`disposing` bool

### Initialize(string)

```csharp theme={null}
protected void Initialize(string pathMeshFile)
```

#### Parameters

`pathMeshFile` string

### QueryByColumn\<T>(string, object)

```csharp theme={null}
public IEnumerable<T> QueryByColumn<T>(string columnName, object value) where T : class, new()
```

#### Parameters

`columnName` string

`value` object

#### Returns

IEnumerable\<T>

#### Type Parameters

`T`

### Table\<T>()

```csharp theme={null}
public IEnumerable<T> Table<T>() where T : class, new()
```

#### Returns

IEnumerable\<T>

#### Type Parameters

`T`

### TryQueryByID\<T>(int, out T)

```csharp theme={null}
public bool TryQueryByID<T>(int id, out T result) where T : class, new()
```

#### Parameters

`id` int

`result` T

#### Returns

bool

#### Type Parameters

`T`
