ExportIFC Method


The method that Revit will invoke to perform an export to IFC.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2012

Syntax

C#
void ExportIFC(
	Document document,
	ExporterIFC exporter,
	View filterView
)
Visual Basic
Sub ExportIFC ( _
	document As Document, _
	exporter As ExporterIFC, _
	filterView As View _
)
Visual C++
void ExportIFC(
	Document^ document, 
	ExporterIFC^ exporter, 
	View^ filterView
)

Parameters

document
Type: Autodesk.Revit.DBDocument
The document to export.
exporter
Type: Autodesk.Revit.DB.IFCExporterIFC
The IFC exporter object.
filterView
Type: Autodesk.Revit.DBView
The view whose filter visibility settings govern the export.

Remarks

There will be a transaction group opened for the document. Any changes made to the document must be temporary, as the transaction group will automatically be rolled back at the end.

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 →