ImporterIFC Class


Importer IFC Class

The main class provided by Revit to allow implementation of IFC import.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.IFC ImporterIFC

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ImporterIFC : IDisposable

The ImporterIFC type exposes the following members.

Properties
Name Description
Public property Document Gets the document associated with the import.
Public property FullFileName The full file name of the IFC file to be import.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the ImporterIFC
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetOptions Gets the collection of named options set by the importer client.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method HybridCreateImportMap Obsolete.
Public method HybridElementImport Obsolete.
Imports IFC Elements using non-open-source framework.
Public method ProcessIFCProject(IFCAnyHandle) The entry point to the native IFC import function. Processes the main IfcProject and creates appropriate Revit elements.
Public method ProcessIFCProject(IFCAnyHandle, IDictionary IFCAnyHandle, ElementId )
Public method SetFile Sets the handle to the IFC file being created during this import operation.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
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.
See Also