Level.Create Method

LevelCreate Method

Creates a new instance of level based on an input elevation.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static Level Create(
	Document document,
	double elevation
)
Public Shared Function Create ( 
	document As Document,
	elevation As Double
) As Level
public:
static Level^ Create(
	Document^ document, 
	double elevation
)
static member Create : 
        document : Document * 
        elevation : float -> Level 

Parameters

document  Document
The document in which the new instance is created
elevation  Double
The elevation of the level to be created.

Return Value

Level
The newly created level instance.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also