Export |
The ExportLineweightTable type exposes the following members.
Name | Description | |
---|---|---|
![]() | ExportLineweightTable | Constructs a new ExportLineweightTable with default settings. |
Name | Description | |
---|---|---|
![]() | Count | Count of the items contained in the collection. |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | Item | A copy of the ExportLineweightInfo for the line weight's ExportLineweightKey. |
Name | Description | |
---|---|---|
![]() | Add | Inserts a (key, info) pair into Export line weight table. |
![]() | Clear | Removes all contents stored in Export line weight table. |
![]() | ContainsKey | Checks whether a line weight key exists in the table. |
![]() | Dispose | Releases all resources used by the ExportLineweightTable |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetBasicIEnumerator | Returns an enumerator that iterates through a collection. |
![]() | GetEnumerator | Returns an enumerator that iterates through a collection. |
![]() | GetExportLineweightInfo | Gets a copy of the ExportLineweightInfo corresponding to the given ExportLineweightKey. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetKeys | Gets all the keys stored in the map. |
![]() | GetLineweightTableIterator | Returns a ExportLineweightTableIterator that iterates through the collection. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | GetValues | Returns all the values stored in the map. |
![]() | Remove | Removes the pair (key, info) corresponding to the given ExportLineweightKey. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
This table is structured as a mapping from ExportLineweightKey to ExportLineweightInfo members. The ExportLineweightKey contains the identification information for the pattern table: the Revit line weight. The ExportLineweightInfo contains the line weight 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 ExportLineweightInfo returned will be a copy of the ExportLineweightInfo from the table. In order to make changes to the ExportLineweightInfo and use those settings during export, set the modified ExportLineweightInfo back into the table using the same key.