ExportLayerTable Class


A table supporting a mapping of category and subcategory to layer name and other layer properties that will be set in the target export format.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public class ExportLayerTable : IEnumerable<KeyValuePair<ExportLayerKey, ExportLayerInfo>>, 
	IDisposable
Visual Basic
Public Class ExportLayerTable _
	Implements IEnumerable(Of KeyValuePair(Of ExportLayerKey, ExportLayerInfo)),  _
	IDisposable
Visual C++
public ref class ExportLayerTable : IEnumerable<KeyValuePair<ExportLayerKey^, ExportLayerInfo^>>, 
	IDisposable

Remarks

This table is structured as a mapping from ExportLayerKey to ExportLayerInfo members. The ExportLayerKey contains the indentification information for the layer table: the Revit category and subcategory names. In addition, the key contains a SpecialType member used only to represent non-Revit categories that can be assigned specific layer information on export. The ExportLayerInfo contains the exported layer name, color name, and layer modifiers for standard and cut representations.

The table can be accessed via direct iteration as a collection of KeyValuePairs, or by traversal of the stored keys obtained from GetKeys(), or via specific lookup of a key constructed externally. In all cases, the ExportLayerInfo returned will be a copy of the ExportLayerInfo from the table. In order to make changes to the ExportLayerInfo and use those settings during export, set the modified ExportLayerInfo back into the table using the same key.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB ExportLayerTable

See Also