ActiveAddInId Property


Controlled Application Active Add In Id Property

Retrieves the Id of the currently running external application.

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public AddInId ActiveAddInId { get; }

Property Value

AddInId
Remarks
The application can be either a UI application, DB application, or an external command. If no addin is active, this property will return . If an event handler is currently being executed, the returned value will be the Id of the application or command in which the event handler was registered.
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 →