AddValue(ForgeTypeId, Int32) Method


Extended Properties Link Values Add Value(Forge Type Id, Int 32) Method

Add an integer value for a given schema id.

Namespace: Autodesk.Revit.DB.ExternalData
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool AddValue(
	ForgeTypeId schemaId,
	int value
)

Parameters

schemaId ForgeTypeId
Identifier of the schema.
value Int32
The integer value.

Return Value

Boolean
True if the data was added, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →