InsertNewAssetPropertyInteger Method


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

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2018.1

Syntax

C#
public void InsertNewAssetPropertyInteger(
	int value,
	int index
)
Visual Basic
Public Sub InsertNewAssetPropertyInteger ( _
	value As Integer, _
	index As Integer _
)
Visual C++
public:
void InsertNewAssetPropertyInteger(
	int value, 
	int index
)

Parameters

value
Type: SystemInt32
The integer value to insert.
index
Type: SystemInt32
An integer index.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException index is out of range.
Autodesk.Revit.ExceptionsInvalidOperationException The asset property is not editable.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →