2022 Class
Changes 0
C

ExportPatternTable

Description:
A table supporting a mapping of FillPatterns in Revit to pattern names that will be set in the target export format.
Remarks:

This table is structured as a mapping from ExportPatternKey to ExportPatternInfo members. The ExportPatternKey contains the identification 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
public class ExportPatternTable : IEnumerable<KeyValuePair<ExportPatternKey, ExportPatternInfo>>, 
	IDisposable
Name Return Type Description
C ExportPatternTable() None Constructs a new ExportPatternTable with default values.
Name Return Type Description
M Add(ExportPatternKey, ExportPatternInfo) None Inserts a (key,info) pair into Export pattern table.
M Clear() None Removes all contents stored in the table.
M ContainsKey(ExportPatternKey) bool Checks whether a pattern key exists in the table.
M Dispose() None Releases all resources used by the
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetExportPatternInfo(ExportPatternKey) ExportPatternInfo Gets a copy of the pattern info associated to the input pattern key.
M GetKeys() IList<ExportPatternKey> Gets all the keys stored in the map.
M GetPatternTableIterator() ExportPatternTableIterator Returns a PatternTableIterator that iterates through the collection.
M GetValues() IList<ExportPatternInfo> Returns all the values stored in the map.
M Remove(ExportPatternKey) None Removes the pair (key, info) by pattern key.
Name Return Type Description
P Count int Count of the items contained in the collection.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P Item ExportPatternInfo A copy of the for the pattern's .