Class NwcQuickProperties
- Namespace
- NwcIO.Model.Sets
- Assembly
- NwcIO.dll
Configuration of Quick Properties and smart hover tooltips for Navisworks elements.
public sealed class NwcQuickPropertiesInheritance
Inherited Members
Constructors
NwcQuickProperties()
public NwcQuickProperties()Properties
Definitions
public List<NwcQuickPropertyDefinition> Definitions { get; }Property Value
Methods
Add(string, string, string?)
Adds a property definition to the quick properties list.
public NwcQuickProperties Add(string category, string property, string? displayName = null)Parameters
Returns
CreateDefault()
Creates a standard default set of quick properties (Element Name, Type, Material, Layer).
public static NwcQuickProperties CreateDefault()Returns
Extract(NwcNode)
Extracts quick property key-value pairs from a scene node.
public Dictionary<string, string> Extract(NwcNode node)Parameters
nodeNwcNode
Returns
FromXml(string)
Parses quick property definitions from Navisworks XML format.
public static NwcQuickProperties FromXml(string xml)Parameters
xmlstring
Returns
ToXml()
Serializes quick property definitions to Navisworks XML format.
public string ToXml()