2025.3 Class
Changes 6
C

ImporterIFC

Description:
The main class provided by Revit to allow implementation of IFC import.
Remarks:
An instance of this class is provided to clients which implement IImporterIFC in order to provide an implementation for IFC import. It contains information on the options selected by the user for the import operation, as well as members used to access specific types of data needed to implement the import properly.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.IFC.ImporterIFC
public class ImporterIFC : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ImporterIFC
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetOptions() IDictionary<String,String> Gets the collection of named options set by the importer client.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M HybridCreateImportMap(Document, IList<ElementId>) IDictionary<String,ElementId> Obsolete.
M HybridElementImport(Document, String) IList<ElementId> Obsolete. Imports IFC Elements using non-open-source framework.
M ProcessIFCProject(IFCAnyHandle) None The entry point to the native IFC import function. Processes the main IfcProject and creates appropriate Revit elements.
M ProcessIFCProject(IFCAnyHandle, IDictionary<IFCAnyHandle, ElementId>) None
M SetFile(IFCFile) None Sets the handle to the IFC file being created during this import operation.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Document Document Gets the document associated with the import.
P FullFileName string The full file name of the IFC file to be import.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.