AddValue(ForgeTypeId, String) Method


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

Add a string 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,
	string value
)

Parameters

schemaId ForgeTypeId
Identifier of the schema.
value String
The string 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 →