Creates a new instance of level based on an input elevation.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static Level Create( Document document, double elevation )
Parameters
- document Document
- The document in which the new instance is created
- elevation Double
- The elevation of the level to be created.
Return Value
LevelThe newly created level instance.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |