Share

UIApplication Properties

The UIApplication type exposes the following members.

Properties

 NameDescription
Public propertyActiveAddInId Get current active external application or external command id.
Public propertyActiveUIDocumentProvides access to an object that represents the currently active project.
Public propertyApplication Returns the database level Application represented by this UI level Application.
Public propertyDrawingAreaExtentsGet the rectangle that represents the screen pixel coordinates of drawing area.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyIsViewerModeActive Determines if Revit session is in Viewer mode.
Public propertyLoadedApplications Returns an array of successfully loaded external applications.
Public propertyMainWindowExtentsGet the rectangle that represents the screen pixel coordinates of the Revit main window.
Public propertyMainWindowHandleGet the handle of the Revit main window.
Public propertyProductIsRS Identifies if the current Revit product has an RS designation. Most add-ins will not need to use this information.

See Also

Reference

Was this information helpful?