Revit 2023 API |
ExportLayerTable..::..GetExportLayerInfo Method |
ExportLayerTable Class See Also |
Gets a copy of the layer info associated to the input pattern key.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2014
Syntax
C# |
---|
public ExportLayerInfo GetExportLayerInfo( ExportLayerKey exportLayerKey ) |
Visual Basic |
---|
Public Function GetExportLayerInfo ( _ exportLayerKey As ExportLayerKey _ ) As ExportLayerInfo |
Visual C++ |
---|
public: ExportLayerInfo^ GetExportLayerInfo( ExportLayerKey^ exportLayerKey ) |
Parameters
- exportLayerKey
- Type: Autodesk.Revit.DB..::..ExportLayerKey
The export layer Key.
Return Value
Return the layerInfo for this key.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | An entry with the given key is not present in the table. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |