Revit 2026 API
Export |
A copy of the ExportLineweightInfo for the line weight's ExportLineweightKey.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ExportLineweightInfo this[ ExportLineweightKey lineweightKey ] { get; set; }
Public Default Property Item ( lineweightKey As ExportLineweightKey ) As ExportLineweightInfo Get Set
public: virtual property ExportLineweightInfo^ default[ExportLineweightKey^ lineweightKey] { ExportLineweightInfo^ get (ExportLineweightKey^ lineweightKey) sealed; void set (ExportLineweightKey^ lineweightKey, ExportLineweightInfo^ value) sealed; }
abstract Item : ExportLineweightInfo with get, set override Item : ExportLineweightInfo with get, set
Parameters
- lineweightKey ExportLineweightKey
Return Value
ExportLineweightInfoA copy of the ExportLineweightInfo.
| Exception | Condition |
|---|---|
| ArgumentException | When getting this property: An entry with the given key is not present in the table. |
When getting this property, it returns 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.
See Also