< Rev API Docs

The CommandEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyActiveDocument
The active document.
Public propertyCancel
Indicates whether the event is being cancelled. When the event is cancellable, set the property to True to cancel it.
(Inherited from RevitEventArgs.)
Public propertyCancellable
Indicates whether an event may be cancelled by an event delegate.
(Inherited from RevitEventArgs.)
Public propertyCommandId
The command id.

See Also