Class NwcHtmlViewerExporter
- Namespace
- NwcIO.Model.Viewer
- Assembly
- NwcIO.dll
Exports a Navisworks document or federated assembly to an interactive, self-contained 3D WebGL HTML viewer (.html) with zero external script or server dependencies.
public static class NwcHtmlViewerExporterInheritance
Inherited Members
Methods
Save(string, NwcDocument, NwcHtmlViewerOptions?)
Exports an NwcIO.NwcDocument to a standalone interactive 3D HTML viewer file.
public static void Save(string path, NwcDocument doc, NwcHtmlViewerOptions? options = null)Parameters
pathstringdocNwcDocumentoptionsNwcHtmlViewerOptions?
Save(string, NwcAssembly, NwcHtmlViewerOptions?)
Exports an NwcIO.Model.NwcAssembly to a standalone interactive 3D HTML viewer file.
public static void Save(string path, NwcAssembly assembly, NwcHtmlViewerOptions? options = null)Parameters
pathstringassemblyNwcAssemblyoptionsNwcHtmlViewerOptions?
Write(TextWriter, IReadOnlyList<NwcMesh>, IReadOnlyList<NwcSavedViewpoint>, IReadOnlyList<NwcClashTest>, BoundingBox3d, NwcHtmlViewerOptions)
Writes the standalone 3D HTML WebGL viewer to a System.IO.TextWriter.
public static void Write(TextWriter writer, IReadOnlyList<NwcMesh> meshes, IReadOnlyList<NwcSavedViewpoint> viewpoints, IReadOnlyList<NwcClashTest> clashTests, BoundingBox3d bounds, NwcHtmlViewerOptions options)Parameters
writerTextWritermeshesIReadOnlyList<NwcMesh>viewpointsIReadOnlyList<NwcSavedViewpoint>clashTestsIReadOnlyList<NwcClashTest>boundsBoundingBox3doptionsNwcHtmlViewerOptions