GetOpenUIViews Method


Get a list of all open view windows in the Revit user interface.

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

Syntax

C#
public IList<UIView> GetOpenUIViews()
Visual Basic
Public Function GetOpenUIViews As IList(Of UIView)
Visual C++
public:
IList<UIView^>^ GetOpenUIViews()

Remarks

A sheet view with an activated viewport will return the view associated with the activated viewport, not the sheet view.

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 →