UIControlledApplication Class


Represents the Autodesk Revit user interface, providing access to UI customization methods and events.

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

Syntax

C#
public class UIControlledApplication
Visual Basic
Public Class UIControlledApplication
Visual C++
public ref class UIControlledApplication

Remarks

This class does not provide access to documents because it is provided to you through the ExternalApplication OnStartup()/OnShutdown() methods, and those methods are when it is not possible to work with Revit documents. You can work with documents by getting them from the UIApplication class; that class is obtained from events and ExternalCommand callbacks.

Inheritance Hierarchy

System Object
Autodesk.Revit.UI UIControlledApplication

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 →