ExporterIFC Class

The main class provided by Revit to allow implementation of IFC export.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.IFCExporterIFC

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

The ExporterIFC type exposes the following members.

Properties
 NameDescription
Public propertyExportAs2x2Obsolete.
Identifies if the file version being exported is IFC2x2.
Public propertyExportAs2x3Obsolete.
Identifies if the file version being exported is IFC2x3.
Public propertyExportBaseQuantities Identifies if the export should include IFC standard quantities currently supported by Revit.
Public propertyFileName The name of the IFC file being exported.
Public propertyFileVersion Identifies the file version being exported.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertySpaceBoundaryLevel Identifies the level of space boundaries being exported.
Public propertyWallAndColumnSplitting Identifies if division of multi-level walls and columns by levels should take place during this export.
Top
Methods
 NameDescription
Public methodAddBuildingStorey Adds building storey to the exporter's internal cache.
Public methodClearFaceWithElementHandleMap Clear face with element handle map.
Public methodDisposeReleases all resources used by the ExporterIFC
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFindSpaceBoundingElementHandle Looks up the handle associated to the element and level id from the ExporterIFC's internal cache.
Public methodGet2DContextHandleObsolete.
Obtains the IfcRepresentationContext handle to be used for 2D entities (Annotations).
Public methodGet3DContextHandle Obtains the IfcRepresentationContext or IfcRepresentationSubContext handle to be used for 3D entities (Model entities).
Public methodGetDoorWindowOpeningHandle Get the handle to the opening associated with a hosted (door/window) element from the internal cache.
Public methodGetFamilyName Gets the name of the element assigned to the current export state.
Public methodGetFile Gets the handle to the IFC file being created during this export operation.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHostObjects Returns a collection containing the host object handles in the document.
Public methodGetLayerNameForPresentationLayer Get the layer name associated with an element from the default layer mapping table.
Public methodGetLevelInfo Returns an object representing the information about a level in the document.
Public methodGetLevelInfos Returns a collection containing the information about all levels in the document.
Public methodGetMaterialIdForCurrentExportState This gets the material id that is associated with the element in the current export state.
Public methodGetOptions Gets the collection of named options set by the exporter client.
Public methodGetOrCreateFillPattern Get (or create) the IfcFillPatternStyle associated with an ElementId.
Public methodGetPresentationLayerAssignments Get the list of the internally IfcPresentationLayerAssignments and their respective shape representations.
Public methodGetRelatedElements Gets all elements not associated to stories.
Public methodGetRelatedProducts Gets all products not associated to stories.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPopExportState Resets the internal state of the exporter to process the previously active input element (if any), or the default state if the stack is empty.
Public methodPopTransform Resets the internal transform of the exporter to process the previously active input element (if any), or the default transform if the stack is empty.
Public methodPushExportState Sets the internal state of the exporter to process the geometry and properties of the input element.
Public methodPushTransform Sets the internal transform of the exporter to process the geometry and properties of the input element.
Public methodRegisterDoorWindowForUncreatedOpening Registers a door or window in the ExporterIFC's internal cache. The ids registered correspond to openings in walls which have not been processed and created yet.
Public methodRegisterFaceWithElementHandle Register face with element handle to make sure the openings created are related to the right element.
Public methodRegisterSpaceBoundingElementHandle Stores a handle representing a space bounding element to the ExporterIFC's internal cache.
Public methodRemoveBuildingStorey Removes an IFCLevelInfo corresponding to a level from the exporter's internal cache.
Public methodSet2DContextHandleObsolete.
Sets the IfcRepresentationContext handle to be used for 2D entities (Annotations).
Public methodSet3DContextHandle Sets the IfcRepresentationContext or IfcRepresentationSubContext handle to be used for 3D entities (Model entities).
Public methodSetCurrentExportedDocument Sets the exporter to process a particular document during export.
Public methodSetFile Sets the handle to the IFC file being created during this export operation.
Public methodSetMaterialIdForCurrentExportState This sets the material id that is to be associated with the element in the current export state.
Public methodSetOwnerHistoryHandle Sets the handle to the IfcOwnerHistory for the file.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
An instance of this class is provided to clients which implement IExporterIFC in order to provide an implementation for IFC export. It contains information on the options selected by the user for the export operation, as well as members used to access specific types of data needed to implement the export properly.
See Also