IFCFile
Description:
Represents the IFC file which is being created during export.
Represents the IFC file which is being created during export.
public class IFCFile : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Close() | None | Close the IFC file. |
| CreateHeaderInstance(String) | The instance handle. | Creates an IFC header instance in the file model. |
| CreateInstance(String) | The instance handle. | Creates an IFC instance in the file model. |
| Create(IFCFileModelOptions) | The IFC file. | Creates an IFC file for exporting. |
| CreateStyle(ExporterIFC, IFCAnyHandle) | The handle. | Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file. |
| CreateStyle(ExporterIFC, IFCAnyHandle, Color, ElementId) | The handle. | Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file. |
| Dispose() | None | Releases all resources used by the |
| GetInstanceCount(String, Boolean) | The count. | Counts IFC instances of one particular type. |
| GetInstances(String, Boolean) | The instance handles. | Gets IFC instances of one particular type. |
| Read(IFCFileReadOptions) | None | Reads content from a file of IFC format. |
| Read(IFCFileReadOptions, Int32%, Int32%) | None | Reads content from a file of IFC format. |
| Write(IFCFileWriteOptions) | None | Writes content to a file of IFC format. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |