> ## 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/lib/VM.Models.FE.Mesh.Writer)\
Assembly: VM.Models.FE.Mesh.dll

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

#### Inheritance

object ←
[NeutralWriter](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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_)

## Methods

### WriteBigBlock(BinaryWriter, string, Action)

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

#### Parameters

`writer` BinaryWriter

`blockName` string

`writeBlock` Action

#### Returns

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

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

`blockName` string

`nBlockVersion` int

`actWrite` Action\<T>

#### Returns

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

`file` ReadOnlyCollection\<T>

`blockName` string

`nBlockVersion` int

`actWrite` Action\<T>

#### Returns

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

`tie` [FEConstraintTie](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`baseGeomID` uint

`actionGeomID` uint

### WriteElement(BinaryWriter, Element)

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

#### Parameters

`writer` BinaryWriter

`element` [Element](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`element` [FEElement](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

### WriteElementRBE(BinaryWriter, FEConstraintRBE)

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

#### Parameters

`writer` BinaryWriter

`rbe` [FEConstraintRBE](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

### WriteElementRBE2(BinaryWriter, RBE2)

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

#### Parameters

`writer` BinaryWriter

`rbe` [RBE2](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`blockName` string

`blockVersion` int

#### Returns

BinaryWriter

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

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

#### Parameters

`writer` BinaryWriter

`mat` [MaterialAB](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

### WriteMaterialISO(BinaryWriter, ISO)

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

#### Parameters

`writer` BinaryWriter

`mat` [ISO](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`mat` [MaterialISO](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

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

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

#### Parameters

`writer` BinaryWriter

`mat` [MaterialMR](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

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

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

#### Parameters

`writer` BinaryWriter

`mat` [MaterialNH](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

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

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

#### Parameters

`writer` BinaryWriter

`mat` [MaterialORTHO](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

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

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

#### Parameters

`writer` BinaryWriter

`mat` [MaterialOG](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

### 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/lib/VM.Models.FE.Mesh.MeshFile.md)

`pathToWrite` 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/lib/VM.Models.FE.Mesh.MeshFile.md)

`stream` 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/lib/VM.Models.FE.Mesh.MeshFile.md)

`writer` BinaryWriter

### WriteNeutralFile(IDFMFReader, string)

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

#### Parameters

`file` [IDFMFReader](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Interfaces/IDFMFReader.cs)

`pathToWrite` string

### WriteNeutralFile(IDFMFReader, Stream)

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

#### Parameters

`file` [IDFMFReader](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Interfaces/IDFMFReader.cs)

`stream` Stream

### WriteNeutralFile(IDFMFReader, BinaryWriter)

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

#### Parameters

`file` [IDFMFReader](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Interfaces/IDFMFReader.cs)

`writer` BinaryWriter

### WriteNode(BinaryWriter, Node)

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

#### Parameters

`writer` BinaryWriter

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

### WriteNode(BinaryWriter, NBody)

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

#### Parameters

`writer` BinaryWriter

`node` [NBody](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

### WritePropertyBeam(BinaryWriter, BeamL)

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

#### Parameters

`writer` BinaryWriter

`prop` [BeamL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`prop` [FEPropertyBeam](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

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

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

#### Parameters

`writer` BinaryWriter

`prop` [FEPropertyBeamL](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

### WritePropertyShell(BinaryWriter, Shell)

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

#### Parameters

`writer` BinaryWriter

`prop` [Shell](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`prop` [FEPropertyShell](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

### WritePropertySolid(BinaryWriter, Solid)

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

#### Parameters

`writer` BinaryWriter

`prop` [Solid](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`prop` [FEPropertySolid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)

`bUseIndex` bool

`nIndex` int

### WriteSet(BinaryWriter, Set)

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

#### Parameters

`writer` BinaryWriter

`set` [Set](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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

`namedSelection` [NamedSelection](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.Utilities/Models/DFMFReader.Structs.cs)
