ImporterIFC
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.
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)
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.