Share

DialogBoxData.OverrideResult Method

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.1.0.0 (26.1.0.34)

Syntax

C#

public bool OverrideResult(
	int result
)

Parameters

result  Int32
The result code you wish the Revit dialog to return.

Return Value

Boolean
Returns true if the result code was accepted.

See Also

Reference

Was this information helpful?