Class IfcCsvBridge
- Namespace
- IfcIO.Model
- Assembly
- IfcIO.dll
Provides high-speed CSV tabular export and roundtrip property import for IFC models,
conforming to the IfcOpenShell ifccsv specification.
public static class IfcCsvBridgeInheritance
Inherited Members
Methods
Export(IfcModel, TextWriter, IEnumerable<string>, string)
Exports elements and selected property set parameters to a CSV System.IO.TextWriter.
public static void Export(IfcModel model, TextWriter writer, IEnumerable<string> propertyNames, string delimiter = ";")Parameters
modelIfcModelwriterTextWriterpropertyNamesIEnumerable<string>delimiterstring
ExportFile(IfcModel, string, IEnumerable<string>, string)
Exports elements and selected property set parameters to a CSV spreadsheet file.
public static void ExportFile(IfcModel model, string path, IEnumerable<string> propertyNames, string delimiter = ";")Parameters
modelIfcModelpathstringpropertyNamesIEnumerable<string>delimiterstring
Import(IfcModel, TextReader, string)
Imports tabular CSV properties from a System.IO.TextReader into matching model elements.
public static (int ElementsUpdated, int PropertiesUpdated) Import(IfcModel model, TextReader reader, string delimiter = ";")Parameters
modelIfcModelreaderTextReaderdelimiterstring
Returns
ImportFile(IfcModel, string, string)
Imports tabular CSV properties into matching model elements by GlobalId or Id. Adds or updates property values inside matching or custom property sets.
public static (int ElementsUpdated, int PropertiesUpdated) ImportFile(IfcModel model, string path, string delimiter = ";")Parameters
Returns
- (int ElementsUpdated, int PropertiesUpdated)
-
A tuple containing the number of updated elements and the total number of updated properties.