Table of Contents

Class NwcDiffReport

Namespace
NwcIO.Model.Diff
Assembly
NwcIO.dll

Complete revision comparison report between two Navisworks documents or federated assemblies.

public sealed class NwcDiffReport

Inheritance

Inherited Members

Constructors

NwcDiffReport(string, string)

public NwcDiffReport(string baselineName, string revisionName)

Parameters

baselineName string
revisionName string

Properties

Added

public List<NwcElementDiff> Added { get; }

Property Value

List<NwcElementDiff>

BaselineName

public string BaselineName { get; }

Property Value

string

Deleted

public List<NwcElementDiff> Deleted { get; }

Property Value

List<NwcElementDiff>

Modified

public List<NwcElementDiff> Modified { get; }

Property Value

List<NwcElementDiff>

RevisionName

public string RevisionName { get; }

Property Value

string

TotalChangesCount

public int TotalChangesCount { get; }

Property Value

int

Unchanged

public List<NwcElementDiff> Unchanged { get; }

Property Value

List<NwcElementDiff>

Methods

SaveBcf(string)

Exports the revision changes to a buildingSMART BCF 2.1 zip archive (.bcfzip) with 3D viewpoint cameras.

public void SaveBcf(string path)

Parameters

path string

SaveBcf(Stream)

Exports the revision changes to a BCF 2.1 zip stream.

public void SaveBcf(Stream stream)

Parameters

stream Stream

SaveJson(string, bool)

Saves the comparison report to a JSON file.

public void SaveJson(string path, bool indented = true)

Parameters

path string
indented bool

SaveJson(Stream, bool)

Saves the comparison report to a JSON stream.

public void SaveJson(Stream stream, bool indented = true)

Parameters

stream Stream
indented bool

ToJson(bool)

Serializes the comparison report to JSON string.

public string ToJson(bool indented = true)

Parameters

indented bool

Returns

string