HasBinding Property


Revit Command Id Has Binding Property

Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool HasBinding { get; }

Property Value

Boolean
Remarks
This will not indicate if one or more applications have subscribed to the BeforeExecuted event, as this event is not limited to a single subscriber.
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 →