Revit 2025 API
Asset |
Insert a new AssetPropertyDouble4 containing the input value to this list.
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void InsertNewAssetAsColor( Color value, int index )
Public Sub InsertNewAssetAsColor ( value As Color, index As Integer )
public: void InsertNewAssetAsColor( Color^ value, int index )
member InsertNewAssetAsColor : value : Color * index : int -> unit
Parameters

Exception | Condition |
---|---|
ArgumentException | index is out of range. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The asset property is not editable. |
See Also