Class NwcWriter
- Namespace
- NwcIO
- Assembly
- NwcIO.dll
Provides methods for serializing and saving NwcIO.NwcDocument instances into Autodesk Navisworks (.nwc) files using pure managed compression and binary layouts.
public static class NwcWriterInheritance
Inherited Members
Methods
Write(NwcDocument, string, string?)
Writes the document to the specified file path.
public static void Write(NwcDocument document, string path, string? header = null)Parameters
documentNwcDocumentpathstringheaderstring?
Write(NwcDocument, Stream, string?)
Writes the document to the specified output stream.
public static void Write(NwcDocument document, Stream stream, string? header = null)Parameters
documentNwcDocumentstreamStreamheaderstring?
WriteToBytes(NwcDocument, string?)
Serializes the document into a byte array containing a complete .nwc file.
public static byte[] WriteToBytes(NwcDocument document, string? header = null)Parameters
documentNwcDocumentheaderstring?
Returns
- byte[]