mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
ifc5d - add examples for other formats
This commit is contained in:
+9
-1
@@ -55,7 +55,15 @@ Simple example:
|
||||
import ifc5d.ifc5Dspreadsheet
|
||||
|
||||
# csv.
|
||||
writer = ifc5d.ifc5Dspreadsheet.Ifc5DCsvWriter(ifc_file, temp_csv_dir)
|
||||
writer = ifc5d.ifc5Dspreadsheet.Ifc5DCsvWriter(ifc_file, csv_dir)
|
||||
writer.write()
|
||||
|
||||
# ods.
|
||||
writer = ifc5d.ifc5Dspreadsheet.Ifc5DOdsWriter(ifc_file, ods_dir)
|
||||
writer.write()
|
||||
|
||||
# xlsx.
|
||||
writer = ifc5d.ifc5Dspreadsheet.Ifc5DXlsxWriter(ifc_file, xlsx_dir)
|
||||
writer.write()
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user