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 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 →