Get a list of all open view windows in the Revit user interface.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IList<UIView> GetOpenUIViews()
Return Value
IList<UIView>
Remarks
A sheet view with an activated viewport will return the view associated with the activated viewport, not the sheet view.
See Also
Reference