ExternalEvent
Description:
A class that represent an external event.
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.
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
System.Object
Autodesk.Revit.UI.ExternalEvent
public class ExternalEvent : IDisposable
| Name | Return Type | Description |
|---|---|---|
| CreateJournalable(IExternalEventHandler) | ExternalEvent | Creates an instance of external event which will have the ability to record its executions in the journal. |
| Create(IExternalEventHandler) | ExternalEvent | Creates an instance of external event. |
| Dispose() | None | Releases all resources used by the |
| Raise() | ExternalEventRequest | Instructing Revit to raise (signal) the external event. |
| Name | Return Type | Description |
|---|---|---|
| IsPending | bool | Checking whether an event has been raised but not yet executed. |