Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class BDFWriter

Last update: 16.07.2025

Namespace: VM.Models.FE.Mesh.Writer
Assembly: VM.Models.FE.Mesh.dll

public static class BDFWriter

Inheritance

objectBDFWriter

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Properties

WriteMessage

public static Action<string> WriteMessage { get; set; }

Property Value

Actionstring&gt;

Methods

FormatDoubleForBDF(double)

public static string FormatDoubleForBDF(double dValue)

Parameters

dValue double

Returns

string

GetElementTypeName(ElementTypes)

public static string GetElementTypeName(ElementTypes elementType)

Parameters

elementType ElementTypes

Returns

string

WriteBDFFile(MeshFile, string, Action, Action)

public static void WriteBDFFile(this MeshFile file, string pathToWrite, Action<textwriter> actWriteBeforeBulk = null, Action<textwriter> actWriteExtra = null)

Parameters

file MeshFile

pathToWrite string

actWriteBeforeBulk ActionTextWriter&gt;

actWriteExtra ActionTextWriter&gt;

WriteBDFFile(MeshFile, Stream, Action, Action)

public static void WriteBDFFile(this MeshFile file, Stream stream, Action<textwriter> actWriteBeforeBulk = null, Action<textwriter> actWriteExtra = null)

Parameters

file MeshFile

stream Stream

actWriteBeforeBulk ActionTextWriter&gt;

actWriteExtra ActionTextWriter&gt;

WriteBDFFile(MeshFile, TextWriter, Action, Action)

public static void WriteBDFFile(this MeshFile file, TextWriter writer, Action<textwriter> actWriteBeforeBulk = null, Action<textwriter> actWriteExtra = null)

Parameters

file MeshFile

writer TextWriter

actWriteBeforeBulk ActionTextWriter&gt;

actWriteExtra ActionTextWriter&gt;

WriteSingleBDFElement(TextWriter, ref int, string)

public static void WriteSingleBDFElement(this TextWriter writer, ref int index, string strElement)

Parameters

writer TextWriter

index int

strElement string

WriteSingleBDFElement(TextWriter, ref int, int)

public static void WriteSingleBDFElement(this TextWriter writer, ref int index, int nElement)

Parameters

writer TextWriter

index int

nElement int

WriteSingleBDFElement(TextWriter, ref int, double)

public static void WriteSingleBDFElement(this TextWriter writer, ref int index, double dElement)

Parameters

writer TextWriter

index int

dElement double

WriteToBDF(Node, TextWriter)

public static void WriteToBDF(this Node node, TextWriter writer)

Parameters

node Node

writer TextWriter

WriteToBDF(ISO, TextWriter)

public static void WriteToBDF(this ISO material, TextWriter writer)

Parameters

material ISO

writer TextWriter

WriteToBDF(BeamL, TextWriter)

public static void WriteToBDF(this BeamL property, TextWriter writer)

Parameters

property BeamL

writer TextWriter

WriteToBDF(Solid, TextWriter)

public static void WriteToBDF(this Solid property, TextWriter writer)

Parameters

property Solid

writer TextWriter

WriteToBDF(Beam2, TextWriter, MeshFile)

public static void WriteToBDF(this Beam2 beam, TextWriter writer, MeshFile file)

Parameters

beam Beam2

writer TextWriter

file MeshFile

WriteToBDF(Element, TextWriter)

public static void WriteToBDF(this Element element, TextWriter writer)

Parameters

element Element

writer TextWriter

WriteToBDF(RBE2, TextWriter)

public static void WriteToBDF(this RBE2 rbe, TextWriter writer)

Parameters

rbe RBE2

writer TextWriter

Connect with Ansys