| Revit 2020.1 API |
| AssetPropertyList..::..InsertNewAssetPropertyDouble Method |
| AssetPropertyList Class See Also |
Inserts a new AssetPropertyDouble containing the input value to this list.
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2018.1
Syntax
| C# |
|---|
public void InsertNewAssetPropertyDouble( double value, int index ) |
| Visual Basic |
|---|
Public Sub InsertNewAssetPropertyDouble ( _ value As Double, _ index As Integer _ ) |
| Visual C++ |
|---|
public: void InsertNewAssetPropertyDouble( double value, int index ) |
Parameters
- value
- Type: System..::..Double
The double value to insert.
- index
- Type: System..::..Int32
An integer index.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | index is out of range. |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The asset property is not editable. |