ExportPatternTable Class

A table supporting a mapping of FillPatterns in Revit to pattern names 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


public class ExportPatternTable : IEnumerable<KeyValuePair<ExportPatternKey, ExportPatternInfo>>, 
Visual Basic
Public Class ExportPatternTable _
	Implements IEnumerable(Of KeyValuePair(Of ExportPatternKey, ExportPatternInfo)),  _
Visual C++
public ref class ExportPatternTable : IEnumerable<KeyValuePair<ExportPatternKey^, ExportPatternInfo^>>, 


This table is structured as a mapping from ExportPatternKey to ExportPatternInfo members. The ExportPatternKey contains the indentification information for the pattern table: the Revit fill pattern type and name. The ExportPatternInfo contains the pattern name to use in the export format.

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 ExportPatternInfo returned will be a copy of the ExportPatternInfo from the table. In order to make changes to the ExportPatternInfo and use those settings during export, set the modified ExportPatternInfo back into the table using the same key.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB ExportPatternTable

See Also