Class IfcStoreExportExtensions
Inheritance
System.Object
IfcStoreExportExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Xbim.Ifc
Assembly: Xbim.Ifc.dll
Syntax
public static class IfcStoreExportExtensions
Methods
| Improve this Doc View SourceSaveAsIfc(IModel, Stream, ReportProgressDelegate)
Saves a model as a STEP IFC file
Declaration
public static void SaveAsIfc(this IModel model, Stream stream, ReportProgressDelegate progDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
IModel | model | |
System.IO.Stream | stream | |
ReportProgressDelegate | progDelegate |
SaveAsIfcXml(IModel, Stream, ReportProgressDelegate)
Saves a model as IfcXML file
Declaration
public static void SaveAsIfcXml(this IModel model, Stream stream, ReportProgressDelegate progDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
IModel | model | |
System.IO.Stream | stream | |
ReportProgressDelegate | progDelegate |
SaveAsIfcZip(IModel, Stream, String, StorageType, ReportProgressDelegate)
Saves a model as a Zipped IFC file
Declaration
public static void SaveAsIfcZip(this IModel model, Stream stream, string zipEntryName, StorageType storageType, ReportProgressDelegate progDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
IModel | model | The model to export |
System.IO.Stream | stream | The stream will be closed and flushed on return |
System.String | zipEntryName | The name of the file zipped inside the file |
StorageType | storageType | Specify IfcZip and then either IfcXml or Ifc |
ReportProgressDelegate | progDelegate |