Note: This API is now obsolete.
Returns an object representing the information about a level in the document.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
[ObsoleteAttribute("This is deprecated in Revit 2026. Use ExporterCacheManager.LevelInfoCache.LevelsById instead.")]
public IFCLevelInfo GetLevelInfo(
ElementId levelId
)Parameters
- levelId ElementId
-
The level id.
Return Value
IFCLevelInfo
The level information.
Exceptions
Remarks
Level information is currently automatically collected and cached in the ExporterIFC
object. This method returns the cached information for a given level,
which is often needed during export of particular building elements which reference levels, as well
as to implement automatic wall and column splitting.
See Also
Reference