Evaluate Method


Formula Manager Evaluate Method

Evaluates value of the formula

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static string Evaluate(
	ElementId parameterId,
	Document document,
	string formula
)

Parameters

parameterId ElementId
document Document
formula String

Return Value

String
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
It evaluates formula using list of global or family parameters depends on document type.
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 →