Table of Contents

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 NwcHtmlViewerExporter

Inheritance

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

path string
doc NwcDocument
options NwcHtmlViewerOptions?

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

path string
assembly NwcAssembly
options NwcHtmlViewerOptions?

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

writer TextWriter
meshes IReadOnlyList<NwcMesh>
viewpoints IReadOnlyList<NwcSavedViewpoint>
clashTests IReadOnlyList<NwcClashTest>
bounds BoundingBox3d
options NwcHtmlViewerOptions