IFCFile Class


IFCFile Class

Represents the IFC file which is being created during export.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.IFC IFCFile

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

The IFCFile type exposes the following members.

Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Close Close the IFC file.
Public method Static member Create Creates an IFC file for exporting.
Public method CreateHeaderInstance Creates an IFC header instance in the file model.
Public method CreateInstance Creates an IFC instance in the file model.
Public method CreateStyle(ExporterIFC, IFCAnyHandle) Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.
Public method CreateStyle(ExporterIFC, IFCAnyHandle, Color, ElementId) Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.
Public method Dispose Releases all resources used by the IFCFile
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 GetInstanceCount Counts IFC instances of one particular type.
Public method GetInstances Gets IFC instances of one particular type.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method Read(IFCFileReadOptions) Reads content from a file of IFC format.
Public method Read(IFCFileReadOptions, Int32 , Int32 ) Reads content from a file of IFC format.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Public method Write Writes content to a file of IFC format.
Top
See Also