RVTDocs.com
Namespace: Autodesk.Revit.UI Class: UIDocument

UIDocument.GetOpenUIViews

Method
Description:
Get a list of all open view windows in the Revit user interface.
Remarks:
A sheet view with an activated viewport will return the view associated with the activated viewport, not the sheet view.
Syntax