Table of Contents

Class NwcAppearanceProfiler

Namespace
NwcIO.Model.Appearance
Assembly
NwcIO.dll

Manages a collection of appearance rules to systematically colorize and adjust transparencies across a Navisworks scene graph (e.g. coloring HVAC, piping, structure).

public sealed class NwcAppearanceProfiler

Inheritance

Inherited Members

Properties

Rules

public List<NwcAppearanceRule> Rules { get; }

Property Value

List<NwcAppearanceRule>

Methods

AddRule(string, string, string, NwcSearchOperator, string, RgbaColor, float)

public void AddRule(string name, string category, string property, NwcSearchOperator op, string value, RgbaColor color, float transparency = 0)

Parameters

name string
category string
property string
op NwcSearchOperator
value string
color RgbaColor
transparency float

AddRule(string, NwcSearchCondition, RgbaColor, float)

public void AddRule(string name, NwcSearchCondition condition, RgbaColor color, float transparency = 0)

Parameters

name string
condition NwcSearchCondition
color RgbaColor
transparency float

Apply(NwcDocument)

Applies the appearance rules across the document's scene tree and geometry meshes.

public int Apply(NwcDocument document)

Parameters

document NwcDocument

Returns

int

The total number of elements whose appearance was overridden.