Revit 2025 API
View |
This method displays the grid lines in this 3D view on the given Levels.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void ShowGridsOnLevels( ISet<ElementId> levelsIds )
Public Sub ShowGridsOnLevels ( levelsIds As ISet(Of ElementId) )
public: void ShowGridsOnLevels( ISet<ElementId^>^ levelsIds )
member ShowGridsOnLevels : levelsIds : ISet<ElementId> -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
Previously selected Levels for showing grids will be replaced with the new ids.
See Also