Skip to content

IFCFile

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


Methods

Name

Description


Public Method

Close the IFC file.


Public Method
Static Member

Creates an IFC file for exporting.


Public Method
CreateHeaderInstance

Creates an IFC header instance in the file model.


Public Method

Creates an IFC instance in the file model.


Public Method

Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.


Public Method

Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.


Public Method

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

Counts IFC instances of one particular type.


Public Method

Gets IFC instances of one particular type.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Reads content from a file of IFC format.


Public Method

Reads content from a file of IFC format.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Public Method

Writes content to a file of IFC format.