Revit 2025.3 API
Global |
Returns the parameter's expression in form of a string.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public string GetFormula()
Public Function GetFormula As String
public: String^ GetFormula()
member GetFormula : unit -> string
Return Value
StringThe string representing the expression assigned to the parameter.
Returns an empty string a case the parameter is not determined by
a formula, or if the the expression cannot be converted to a string.
See Also