2027 Class
Changes 8
C

ExporterIFC

Description:
The main class provided by Revit to allow implementation of IFC export.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.IFC.ExporterIFC
public class ExporterIFC : IDisposable
Name Return Type Description Inherited From
M ClearFaceWithElementHandleMap() None Clear face with element handle map.
M Dispose() None Releases all resources used by the ExporterIFC
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M FindSpaceBoundingElementHandle(ElementId, ElementId) IFCAnyHandle Looks up the handle associated to the element and level id from the ExporterIFC's internal cache.
M Get3DContextHandle(String) IFCAnyHandle Obtains the IfcRepresentationContext or IfcRepresentationSubContext handle to be used for 3D entities (Model entities).
M GetDoorWindowOpeningHandle(ElementId) IFCAnyHandle Get the handle to the opening associated with a hosted (door/window) element from the internal cache.
M GetFamilyInstanceAssemblyOffset(FamilyInstance) XYZ Obsolete. Obtains Translation to adjust Family Instance within an Assembly, based on Family Symbol origin change.
M GetFamilyName() String Gets the name of the element assigned to the current export state.
M GetFile() IFCFile Gets the handle to the IFC file being created during this export operation.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetHostObjects() ElementId Returns a collection containing the host object handles in the document.
M GetLayerNameForPresentationLayer(Element, ElementId) String Get the layer name associated with an element from the default layer mapping table.
M GetMaterialIdForCurrentExportState() ElementId This gets the material id that is associated with the element in the current export state.
M GetOptions() IDictionary<String,String> Gets the collection of named options set by the exporter client.
M GetOrCreateFillPattern(ElementId, Color, Double) IFCAnyHandle Get (or create) the IfcFillPatternStyle associated with an ElementId.
M GetPresentationLayerAssignments() IFCAnyHandle Get the list of the internally IfcPresentationLayerAssignments and their respective shape representations.
M GetRelatedElements() ICollection<IFCAnyHandle> Gets all elements not associated to stories.
M GetRelatedProducts() ICollection<IFCAnyHandle> Gets all products not associated to stories.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M PopExportState() None 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.
M PopTransform() None 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.
M PushExportState(Element, GeometryElement) None Sets the internal state of the exporter to process the geometry and properties of the input element.
M PushTransform(Transform) None Sets the internal transform of the exporter to process the geometry and properties of the input element.
M RegisterDoorWindowForUncreatedOpening(ElementId, IFCAnyHandle) None 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.
M RegisterFaceWithElementHandle(Face, IFCAnyHandle) None Register face with element handle to make sure the openings created are related to the right element.
M RegisterSpaceBoundingElementHandle(IFCAnyHandle, ElementId, ElementId) None Stores a handle representing a space bounding element to the ExporterIFC's internal cache.
M Set3DContextHandle(IFCAnyHandle, String) None Sets the IfcRepresentationContext or IfcRepresentationSubContext handle to be used for 3D entities (Model entities).
M SetCurrentExportedDocument(Document) None Sets the exporter to process a particular document during export.
M SetFile(IFCFile) None Sets the handle to the IFC file being created during this export operation.
M SetMaterialIdForCurrentExportState(ElementId) None This sets the material id that is to be associated with the element in the current export state.
M SetOwnerHistoryHandle(IFCAnyHandle) None Sets the handle to the IfcOwnerHistory for the file.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ExportBaseQuantities bool Identifies if the export should include IFC standard quantities currently supported by Revit.
P FileName string The name of the IFC file being exported.
P FileVersion IFCVersion Identifies the file version being exported.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P SpaceBoundaryLevel int Identifies the level of space boundaries being exported.
P WallAndColumnSplitting bool Identifies if division of multi-level walls and columns by levels should take place during this export.