AssetPropertyList.InsertNewAssetAsColor Method

Insert a new AssetPropertyDouble4 containing the input value to this list.


Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public void InsertNewAssetAsColor(
	Color value,
	int index
)

Parameters

value  Color
The color value to insert.
index  Int32
An integer index.

Exceptions

ExceptionCondition
ArgumentException index is out of range.
ArgumentNullException A non-optional argument was null
InvalidOperationException The asset property is not editable.

See Also

Reference

AssetPropertyList Class
Autodesk.Revit.DB.Visual Namespace