Create Method


Creates an IFCLevelInfo.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2013

Syntax

C#
public static IFCLevelInfo Create(
	IFCAnyHandle buildingStorey,
	IFCAnyHandle localPlacement,
	double height,
	double elevation,
	double scaleFactor,
	bool isPrimaryLevel
)
Visual Basic
Public Shared Function Create ( _
	buildingStorey As IFCAnyHandle, _
	localPlacement As IFCAnyHandle, _
	height As Double, _
	elevation As Double, _
	scaleFactor As Double, _
	isPrimaryLevel As Boolean _
) As IFCLevelInfo
Visual C++
public:
static IFCLevelInfo^ Create(
	IFCAnyHandle^ buildingStorey, 
	IFCAnyHandle^ localPlacement, 
	double height, 
	double elevation, 
	double scaleFactor, 
	bool isPrimaryLevel
)

Parameters

buildingStorey
Type: Autodesk.Revit.DB.IFC IFCAnyHandle
The building storey handle (IfcBuildingStorey).
localPlacement
Type: Autodesk.Revit.DB.IFC IFCAnyHandle
The local placement handle (IfcLocalPlacement).
height
Type: System Double
The height of the level.
elevation
Type: System Double
The elevation of the level.
scaleFactor
Type: System Double
The scale factor.
isPrimaryLevel
Type: System Boolean
True if this is primary level, false otherwise.

Return Value

The IFCLevelInfo object.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →