| Revit 2022.1 API |
| ViewSheet..::..GetAllPlacedViews Method |
| ViewSheet Class See Also |
Returns the ElementIds of Views placed on this sheet.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2015
Syntax
| C# |
|---|
public ISet<ElementId> GetAllPlacedViews() |
| Visual Basic |
|---|
Public Function GetAllPlacedViews As ISet(Of ElementId) |
| Visual C++ |
|---|
public: ISet<ElementId^>^ GetAllPlacedViews() |
Return Value
The ids of the views 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.