2027 Class
Changes 0
C

ExportLinetypeTable

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

This table is structured as a mapping from ExportLinetypeKey to ExportLinetypeInfo members. The ExportLinetypeKey contains the identification information for the pattern table: the Revit linetype name. The ExportLinetypeInfo contains the linetype 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 ExportLinetypeInfo returned will be a copy of the ExportLinetypeInfo from the table. In order to make changes to the ExportLinetypeInfo and use those settings during export, set the modified ExportLinetypeInfo back into the table using the same key.

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExportLinetypeTable
public class ExportLinetypeTable : IEnumerable<KeyValuePair<ExportLinetypeKey, ExportLinetypeInfo>>, 
	IDisposable
Name Return Type Description Inherited From
C ExportLinetypeTable() None Constructs a new ExportLinetypeTable with default values.
Name Return Type Description Inherited From
M Add(ExportLinetypeKey, ExportLinetypeInfo) None Inserts a (key, info) pair into Export line type table.
M Clear() None Removes all contents stored in Export line type table.
M ContainsKey(ExportLinetypeKey) Boolean Checks whether a pattern key exists in the table.
M Dispose() None Releases all resources used by the ExportLinetypeTable
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() ExportLinetypeKey Returns an enumerator that iterates through a collection.
M GetExportLinetypeInfo(ExportLinetypeKey) ExportLinetypeInfo Gets a copy of the ExportLinetypeInfo corresponding to the given ExportLinetypeKey.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetKeys() IList<ExportLinetypeKey> Gets all the keys stored in the map.
M GetLinetypeTableIterator() ExportLinetypeTableIterator Returns a ExportLinetypeTableIterator that iterates through the collection.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetValues() IList<ExportLinetypeInfo> Returns all the values stored in the map.
M Remove(ExportLinetypeKey) None Removes the pair (key, info) corresponding to the given ExportLinetypeKey.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Count int Count of the items contained in the collection.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Item ExportLinetypeInfo A copy of the ExportLinetypeInfo for the linetype's ExportLinetypeKey .