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 NwcAppearanceProfilerInheritance
Inherited Members
Properties
Rules
public List<NwcAppearanceRule> Rules { get; }Property Value
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
namestringcategorystringpropertystringopNwcSearchOperatorvaluestringcolorRgbaColortransparencyfloat
AddRule(string, NwcSearchCondition, RgbaColor, float)
public void AddRule(string name, NwcSearchCondition condition, RgbaColor color, float transparency = 0)Parameters
namestringconditionNwcSearchConditioncolorRgbaColortransparencyfloat
Apply(NwcDocument)
Applies the appearance rules across the document's scene tree and geometry meshes.
public int Apply(NwcDocument document)Parameters
documentNwcDocument
Returns
- int
-
The total number of elements whose appearance was overridden.