RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ViewPlan

ViewPlan.SetUnderlayBaseLevel

Method
Description:
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.
Remarks:
If the level specified is the highest level, the underlay range will be unbounded. The underlay range will consist of everything above the specified level.
Syntax
public void SetUnderlayBaseLevel(
	ElementId levelId
)
Parameters
Parameter Type Description
levelId ElementId The element id of a level in the project or else InvalidElementId.
Return Value
Exceptions
Exception Condition
ArgumentException The ElementId levelId does not correspond to a Level in the project.
ArgumentNullException A non-optional argument was null