RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ViewSheet

ViewSheet.GetAllViewports

Method
Description:
Returns the ElementIds of Viewports on this sheet.
Remarks:
Schedules on the sheet are not returned by this method. Use ScheduleSheetInstance.OwnerViewId to find the sheet on which a schedule is placed.
Syntax