ShowGridsOnLevels Method


View 3D Show Grids On Levels Method

This method displays the grid lines in this 3D view on the given Levels.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void ShowGridsOnLevels(
	ISet<ElementId> levelsIds
)

Parameters

levelsIds ISet ElementId
Levels ids where grids lines will be displayed.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Previously selected Levels for showing grids will be replaced with the new ids.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →