GetAllPlacedViews Method


Returns the ElementIds of Views placed on this sheet.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.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.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →