Revit 2026 API
GridGet |
Gets the extents of the grid in the model.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public Outline GetExtents()
Public Function GetExtents As Outline
public: Outline^ GetExtents()
member GetExtents : unit -> Outline
Return Value
OutlineThe extents are the 3D bounding box surrounding the grid. The Z coordinates of the box are used by Revit to determine if the grid should be displayed in a corresponding view plan (if the grid is linear). The extents are not used for arc grids.
See Also