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

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

```csharp theme={null}
public static class NeutralWriter
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[NeutralWriter](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Writer.NeutralWriter.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/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-r2/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-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### WriteBigBlock(BinaryWriter, string, Action)

```csharp theme={null}
public static BinaryWriter WriteBigBlock(this BinaryWriter writer, string blockName, Action writeBlock)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

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

`writeBlock` [Action](https://learn.microsoft.com/dotnet/api/system.action)

#### Returns

[BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

### WriteBlock\<T>(BinaryWriter, MeshFile, string, int, Action\<T>)

```csharp theme={null}
public static BinaryWriter WriteBlock<T>(this BinaryWriter writer, MeshFile file, string blockName, int nBlockVersion, Action<T> actWrite) where T : class, new()
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

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

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

`nBlockVersion` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`actWrite` [Action](https://learn.microsoft.com/dotnet/api/system.action-1)\<T>

#### Returns

[BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

#### Type Parameters

`T`

### WriteBlock\<T>(BinaryWriter, ReadOnlyCollection\<T>, string, int, Action\<T>)

```csharp theme={null}
public static BinaryWriter WriteBlock<T>(this BinaryWriter writer, ReadOnlyCollection<T> file, string blockName, int nBlockVersion, Action<T> actWrite) where T : struct
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`file` [ReadOnlyCollection](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1)\<T>

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

`nBlockVersion` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`actWrite` [Action](https://learn.microsoft.com/dotnet/api/system.action-1)\<T>

#### Returns

[BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

#### Type Parameters

`T`

### WriteContact(BinaryWriter, FEConstraintTie, uint, uint)

```csharp theme={null}
public static void WriteContact(BinaryWriter writer, FEConstraintTie tie, uint baseGeomID, uint actionGeomID)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`tie` FEConstraintTie

`baseGeomID` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

`actionGeomID` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### WriteElement(BinaryWriter, Element)

```csharp theme={null}
public static void WriteElement(BinaryWriter writer, Element element)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`element` [Element](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Elements.Element.md)

### WriteElement(BinaryWriter, FEElement)

```csharp theme={null}
public static void WriteElement(BinaryWriter writer, FEElement element)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`element` FEElement

### WriteElementRBE(BinaryWriter, FEConstraintRBE)

```csharp theme={null}
public static void WriteElementRBE(BinaryWriter writer, FEConstraintRBE rbe)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`rbe` FEConstraintRBE

### WriteElementRBE2(BinaryWriter, RBE2)

```csharp theme={null}
public static void WriteElementRBE2(BinaryWriter writer, RBE2 rbe)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`rbe` [RBE2](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Elements.RBE2.md)

### WriteEmptyBlock(BinaryWriter, string, int)

```csharp theme={null}
public static BinaryWriter WriteEmptyBlock(this BinaryWriter writer, string blockName, int blockVersion)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

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

`blockVersion` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

### WriteMaterialArrudaBoyce(BinaryWriter, MaterialAB, bool, int)

```csharp theme={null}
public static void WriteMaterialArrudaBoyce(BinaryWriter writer, MaterialAB mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialAB

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteMaterialISO(BinaryWriter, ISO)

```csharp theme={null}
public static void WriteMaterialISO(BinaryWriter writer, ISO mat)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` [ISO](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Materials.ISO.md)

### WriteMaterialISO(BinaryWriter, MaterialISO, bool, int)

```csharp theme={null}
public static void WriteMaterialISO(BinaryWriter writer, MaterialISO mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialISO

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteMaterialMooneyRivlin(BinaryWriter, MaterialMR, bool, int)

```csharp theme={null}
public static void WriteMaterialMooneyRivlin(BinaryWriter writer, MaterialMR mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialMR

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteMaterialNeoHookean(BinaryWriter, MaterialNH, bool, int)

```csharp theme={null}
public static void WriteMaterialNeoHookean(BinaryWriter writer, MaterialNH mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialNH

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteMaterialORTHO(BinaryWriter, MaterialORTHO, bool, int)

```csharp theme={null}
public static void WriteMaterialORTHO(BinaryWriter writer, MaterialORTHO mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialORTHO

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteMaterialOgden(BinaryWriter, MaterialOG, bool, int)

```csharp theme={null}
public static void WriteMaterialOgden(BinaryWriter writer, MaterialOG mat, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`mat` MaterialOG

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteNeutralFile(MeshFile, string)

```csharp theme={null}
public static void WriteNeutralFile(this MeshFile file, string pathToWrite)
```

#### Parameters

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

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

### WriteNeutralFile(MeshFile, Stream)

```csharp theme={null}
public static void WriteNeutralFile(this MeshFile file, Stream stream)
```

#### Parameters

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

`stream` [Stream](https://learn.microsoft.com/dotnet/api/system.io.stream)

### WriteNeutralFile(MeshFile, BinaryWriter)

```csharp theme={null}
public static void WriteNeutralFile(this MeshFile file, BinaryWriter writer)
```

#### Parameters

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

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

### WriteNeutralFile(IDFMFReader, string)

```csharp theme={null}
public static void WriteNeutralFile(this IDFMFReader file, string pathToWrite)
```

#### Parameters

`file` IDFMFReader

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

### WriteNeutralFile(IDFMFReader, Stream)

```csharp theme={null}
public static void WriteNeutralFile(this IDFMFReader file, Stream stream)
```

#### Parameters

`file` IDFMFReader

`stream` [Stream](https://learn.microsoft.com/dotnet/api/system.io.stream)

### WriteNeutralFile(IDFMFReader, BinaryWriter)

```csharp theme={null}
public static void WriteNeutralFile(this IDFMFReader file, BinaryWriter writer)
```

#### Parameters

`file` IDFMFReader

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

### WriteNode(BinaryWriter, Node)

```csharp theme={null}
public static void WriteNode(BinaryWriter writer, Node node)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

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

### WriteNode(BinaryWriter, NBody)

```csharp theme={null}
public static void WriteNode(BinaryWriter writer, NBody node)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`node` NBody

### WritePropertyBeam(BinaryWriter, BeamL)

```csharp theme={null}
public static void WritePropertyBeam(BinaryWriter writer, BeamL prop)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` [BeamL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Properties.BeamL.md)

### WritePropertyBeam(BinaryWriter, FEPropertyBeam, bool, int)

```csharp theme={null}
public static void WritePropertyBeam(BinaryWriter writer, FEPropertyBeam prop, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` FEPropertyBeam

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WritePropertyBeamL(BinaryWriter, FEPropertyBeamL, bool, int)

```csharp theme={null}
public static void WritePropertyBeamL(BinaryWriter writer, FEPropertyBeamL prop, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` FEPropertyBeamL

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WritePropertyShell(BinaryWriter, Shell)

```csharp theme={null}
public static void WritePropertyShell(BinaryWriter writer, Shell prop)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` [Shell](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Properties.Shell.md)

### WritePropertyShell(BinaryWriter, FEPropertyShell, bool, int)

```csharp theme={null}
public static void WritePropertyShell(BinaryWriter writer, FEPropertyShell prop, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` FEPropertyShell

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WritePropertySolid(BinaryWriter, Solid)

```csharp theme={null}
public static void WritePropertySolid(BinaryWriter writer, Solid prop)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` [Solid](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Properties.Solid.md)

### WritePropertySolid(BinaryWriter, FEPropertySolid, bool, int)

```csharp theme={null}
public static void WritePropertySolid(BinaryWriter writer, FEPropertySolid prop, bool bUseIndex, int nIndex)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`prop` FEPropertySolid

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

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### WriteSet(BinaryWriter, Set)

```csharp theme={null}
public static void WriteSet(BinaryWriter writer, Set set)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`set` [Set](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.FE.Mesh.Sets.Set.md)

### WriteSet(BinaryWriter, NamedSelection)

```csharp theme={null}
public static void WriteSet(BinaryWriter writer, NamedSelection namedSelection)
```

#### Parameters

`writer` [BinaryWriter](https://learn.microsoft.com/dotnet/api/system.io.binarywriter)

`namedSelection` NamedSelection
