Creates an instance of external event which will have the ability to record its executions in the journal.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static ExternalEvent CreateJournalable( IExternalEventHandler handler )
Parameters
- handler IExternalEventHandler
- An instance of IExternalEventHandler which will execute the event.
Return Value
ExternalEventAn instance of ExternalEvent class, which will be used to invoke the event
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was NULL |