AddValues Method


Extended Properties Link Data Add Values Method

Adds the provided parameter values to the Revit Element identified by %elementId%.

Namespace: Autodesk.Revit.DB.ExternalData
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool AddValues(
	LinkElementId elementId,
	ExtendedPropertiesLinkValues values
)

Parameters

elementId LinkElementId
The identifier of the Element to add the parameter values.
values ExtendedPropertiesLinkValues
The values to be added.

Return Value

Boolean
True if all of the values were 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 →