CommandEventArgs Class


The base class of the command Executed and CanExecute event arguments.

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

Syntax

C#
public class CommandEventArgs : RevitEventArgs
Visual Basic
Public Class CommandEventArgs _
	Inherits RevitEventArgs
Visual C++
public ref class CommandEventArgs : public RevitEventArgs

Inheritance Hierarchy

SystemObject
  SystemEventArgs
    Autodesk.Revit.DB.EventsRevitEventArgs
      Autodesk.Revit.UI.EventsCommandEventArgs
        Autodesk.Revit.UI.EventsBeforeExecutedEventArgs
        Autodesk.Revit.UI.EventsCanExecuteEventArgs
        Autodesk.Revit.UI.EventsExecutedEventArgs

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →