Skip to main content

Motion Standalone Preprocessor C# library 2024 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

object ← BDFWriter

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Properties

WriteMessage

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

Property Value

Action<string>

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<TextWriter>, Action<TextWriter>)

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

Parameters

file MeshFile

pathToWrite string

actWriteBeforeBulk Action<TextWriter>

actWriteExtra Action<TextWriter>

WriteBDFFile(MeshFile, Stream, Action<TextWriter>, Action<TextWriter>)

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

Parameters

file MeshFile

stream Stream

actWriteBeforeBulk Action<TextWriter>

actWriteExtra Action<TextWriter>

WriteBDFFile(MeshFile, TextWriter, Action<TextWriter>, Action<TextWriter>)

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

Parameters

file MeshFile

writer TextWriter

actWriteBeforeBulk Action<TextWriter>

actWriteExtra Action<TextWriter>

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