UIDocument.GetOpenUIViews
Method
Description:
Get a list of all open view windows in the Revit user interface.
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.
A sheet view with an activated viewport will return the view associated with the activated viewport, not the sheet view.