SetValue Method


Asset Property List Set Value Method

Sets collection of properties stored in this property list.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetValue(
	IList<AssetProperty> value
)

Parameters

value IList AssetProperty
An array of properties.
Exceptions
Exception Condition
ArgumentException The input value is invalid for this AssetPropertyList property.
ArgumentNullException A non-optional argument was null
InvalidOperationException The asset property is not editable.
Remarks
All the properties in the list are of the same AssetPropertyType. The AssetPropertyType can only be Integer, Double4, Float or Double, Enumeration.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →