BeforeExecuted Event


Occurs before the command associated with this AddInCommandBinding executes.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public event EventHandler<BeforeExecutedEventArgs> BeforeExecuted
Visual Basic
Public Event BeforeExecuted As EventHandler(Of BeforeExecutedEventArgs)
Visual C++
public:
 event EventHandler<BeforeExecutedEventArgs^>^ BeforeExecuted {
	void add (EventHandler<BeforeExecutedEventArgs^>^ value);
	void remove (EventHandler<BeforeExecutedEventArgs^>^ value);
}

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →