Adjusts the grid to extend through only the vertical range between bottom and top.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2016
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- bottom
- Type: SystemDouble
The bottom range of the grid extents. It must be a valid number and below the top range.
- top
- Type: SystemDouble
The top range of the grid extents. It must be a valid number and above the bottom range.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The bottom and top ranges are reversed for the extents. |
Autodesk.Revit.ExceptionsArgumentOutOfRangeException | The given value for bottom must be no more than 30000 feet in absolute value. -or- The given value for top must be no more than 30000 feet in absolute value. |
Autodesk.Revit.ExceptionsInvalidOperationException | Couldn't change the extents of the grid. |