Revit 2026 API
Dialog |
Call this method to cause the Autodesk Revit dialog to be dismissed with the specified return value.
Namespace: Autodesk.Revit.UI.Events
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool OverrideResult( int result )
Public Function OverrideResult ( result As Integer ) As Boolean
public: bool OverrideResult( int result )
member OverrideResult : result : int -> bool
Parameters
- result Int32
- The result code you wish the Revit dialog to return.
Return Value
BooleanReturns true if the result code was accepted.
See Also