Raise Method


Instructing Revit to raise (signal) the external event.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public ExternalEventRequest Raise()
Visual Basic
Public Function Raise As ExternalEventRequest
Visual C++
public:
ExternalEventRequest Raise()

Return Value

The result of event raising request. If the request is 'Accepted', the event would be added to the event queue and its handler will be executed in the next event-processing cycle.

Remarks

Revit will wait until it is ready to process the event and then it will execute its event handler by calling the Execute method. Revit processes external events only when no other commands or edit modes are currently active in Revit, which is the same policy like the one that applies to evoking external commands.

See Also