MetaPattern

References
[IoId("00000000-0db5-4967-afa5-bd4f527d0da0")] public struct MetaPattern : IStorable
A pattern for the inclusion or exclusion of various bake property overrides from meta data.

Constructors

MetaPattern

#
public MetaPattern(bool enableAll, bool embed)
Create a new standard pattern.
enableAll (bool)
embed (bool)

MetaPattern

#
public MetaPattern(IReader reader)
reader (IReader)

Properties

AllSet

#
public bool AllSet { get; }
Gets whether all properties (except Embed) are set to true.

Embed

#
public bool Embed { get; set; }
Gets whether to embed the meta data of an object into the object attributes.

ProcessName

#
public bool ProcessName { get; set; }
Gets whether the object name gets post-processed with meta values.

SomeSet

#
public bool SomeSet { get; }
Gets whether at least one property (other than Embed) is set to true.

UseColour

#
public bool UseColour { get; set; }
Gets whether the object colour may be set from meta data.

UseLayer

#
public bool UseLayer { get; set; }
Gets whether the object layer may be set from meta data.

UseLineType

#
public bool UseLineType { get; set; }
Gets whether the object dash pattern and scale may be set from meta data.

UseMode

#
public bool UseMode { get; set; }
Gets whether the mode (normal, locked, or hidden) may be set from meta data.

UseName

#
public bool UseName { get; set; }
Gets whether the object name may be set from meta data.

UsePlotColour

#
public bool UsePlotColour { get; set; }
Gets whether the object plotting colour and weight may be set from meta data.

UseSectionHatch

#
public bool UseSectionHatch { get; set; }
Gets whether the section hatch properties may be set from meta data.

UseWireDensity

#
public bool UseWireDensity { get; set; }
Gets whether the object wireframe density may be set from meta data.

Methods

ModifyAttributes

#
public ObjectAttributes ModifyAttributes(ObjectAttributes baseLine, File3dm file, MetaData meta)
Modify a set of Rhino object attributes based on this filter and the provided meta data.
baseLine (ObjectAttributes)
file (File3dm)
meta (MetaData)

ModifyAttributes

#
public ObjectAttributes ModifyAttributes(ObjectAttributes baseLine, RhinoDoc document, MetaData meta)
Modify a set of Rhino object attributes based on this filter and the provided meta data.
baseLine (ObjectAttributes)
document (RhinoDoc)
meta (MetaData)

Store

#
public void Store(IWriter writer)
writer (IWriter)
Store