| Revit 2020 API |
| ExportLineweightTable..::..Add Method |
| ExportLineweightTable Class See Also |
Inserts a (key, info) pair into Export line weight table.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Syntax
| C# |
|---|
public void Add( ExportLineweightKey exportLineweightKey, ExportLineweightInfo exportLineweightInfo ) |
| Visual Basic |
|---|
Public Sub Add ( _ exportLineweightKey As ExportLineweightKey, _ exportLineweightInfo As ExportLineweightInfo _ ) |
| Visual C++ |
|---|
public: void Add( ExportLineweightKey^ exportLineweightKey, ExportLineweightInfo^ exportLineweightInfo ) |
Parameters
- exportLineweightKey
- Type: Autodesk.Revit.DB..::..ExportLineweightKey
The export line weight Key to be added.
- exportLineweightInfo
- Type: Autodesk.Revit.DB..::..ExportLineweightInfo
The export line weight info to be added.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The key already exists in the table. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |