IFCFile
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.
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.