ExporterIFC.AddBuildingStorey Method

ExporterIFCAddBuildingStorey Method

Note: This API is now obsolete.

Adds building storey to the exporter's internal cache.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
[ObsoleteAttribute("This is deprecated in Revit 2026.  Use ExporterCacheManager.LevelInfoCache.LevelsById instead.")]
public void AddBuildingStorey(
	ElementId id,
	IFCLevelInfo levelInfo
)
<ObsoleteAttribute("This is deprecated in Revit 2026.  Use ExporterCacheManager.LevelInfoCache.LevelsById instead.")>
Public Sub AddBuildingStorey ( 
	id As ElementId,
	levelInfo As IFCLevelInfo
)
public:
[ObsoleteAttribute(L"This is deprecated in Revit 2026.  Use ExporterCacheManager.LevelInfoCache.LevelsById instead.")]
void AddBuildingStorey(
	ElementId^ id, 
	IFCLevelInfo^ levelInfo
)
[<ObsoleteAttribute("This is deprecated in Revit 2026.  Use ExporterCacheManager.LevelInfoCache.LevelsById instead.")>]
member AddBuildingStorey : 
        id : ElementId * 
        levelInfo : IFCLevelInfo -> unit 

Parameters

id  ElementId
The level id.
levelInfo  IFCLevelInfo
The IFCLevelInfo object.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also