mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
ifc5d - add examples for other formats
This commit is contained in:
+9
-1
@@ -55,7 +55,15 @@ Simple example:
|
|||||||
import ifc5d.ifc5Dspreadsheet
|
import ifc5d.ifc5Dspreadsheet
|
||||||
|
|
||||||
# csv.
|
# 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()
|
writer.write()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user