| Revit 2016 API |
| ViewPlan..::..SetUnderlayBaseLevel Method |
| ViewPlan Class See Also |
Sets the level whose elevation will determine the bottom of the underlay range.
The elevation of the next highest level will be used to determine the top of the underlay range.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
| C# |
|---|
public void SetUnderlayBaseLevel( ElementId levelId ) |
| Visual Basic |
|---|
Public Sub SetUnderlayBaseLevel ( _ levelId As ElementId _ ) |
| Visual C++ |
|---|
public: void SetUnderlayBaseLevel( ElementId^ levelId ) |
Parameters
- levelId
- Type: Autodesk.Revit.DB..::..ElementId
The id of a level in the project.
Remarks
If the level specified is the highest level, the underlay range will be unbounded and
the underlay range will consist of everything above the specified level.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The ElementId levelId does not correspond to a Level in the project. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |