2020 Class
Changes 0
C

ExternalEvent

Description:
A class that represent an external event.
Remarks:
An instance if this class will be returned to an external event's owner upon the event's creation. The event's owner will use this instance to signal that his application needs to be called by Revit. Revit will periodically check if any of the events have been signaled (raised), and will execute all events that were signaled (raised) by calling the Execute method on the events' respective handlers.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.ExternalEvent
public class ExternalEvent : IDisposable
Name Return Type Description
M CreateJournalable(IExternalEventHandler) ExternalEvent Creates an instance of external event which will have the ability to record its executions in the journal.
M Create(IExternalEventHandler) ExternalEvent Creates an instance of external event.
M Dispose() None Releases all resources used by the
M Raise() ExternalEventRequest Instructing Revit to raise (signal) the external event.
Name Return Type Description
P IsPending bool Checking whether an event has been raised but not yet executed.