View3D.GetLevelsThatShowGrids Method

View3DGetLevelsThatShowGrids Method

Returns the list of levels ids where grids are displayed in this 3D view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ISet<ElementId> GetLevelsThatShowGrids()
Public Function GetLevelsThatShowGrids As ISet(Of ElementId)
public:
ISet<ElementId^>^ GetLevelsThatShowGrids()
member GetLevelsThatShowGrids : unit -> ISet<ElementId> 

Return Value

ISetElementId
The list of levels ids where grids are displayed in 3D views.
See Also