Revit 2026 API
Global |
Obtains the curent value of the global parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ParameterValue GetValue()
Public Function GetValue As ParameterValue
public: ParameterValue^ GetValue()
member GetValue : unit -> ParameterValue
Return Value
ParameterValueAn instance of one of the classes derived from the ParameterValue base class.
Note that a value is always returned regardless of whether the parameter is formula-driven, or dimension-driven, or independent.
The returned ParameterValue is casted-up an instance of one of the derived classes, such as DoubleParameterValue or IntegerParameterValue.
See Also