< Rev API Docs

The UIApplication type exposes the following members.

Properties

  NameDescription
Public propertyActiveAddInId
Get current active external application or external command id.
Public propertyActiveUIDocument
Provides access to an object that represents the currently active project.
Public propertyApplication
Returns the database level Application represented by this UI level Application.
Public propertyDrawingAreaExtents
Get 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 propertyMainWindowExtents
Get the rectangle that represents the screen pixel coordinates of the Revit main window.
Public propertyMainWindowHandle
Get 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