mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-21 04:32:23 +00:00
Output test audits to sqlite
This commit is contained in:
@@ -66,6 +66,12 @@ Alternatively, you can use Python:
|
||||
report.report()
|
||||
report.to_file("report.json")
|
||||
|
||||
# Or to a SQLite database. Unlike JSON, entities are stored once and
|
||||
# referenced by ID, so this stays small on large models and can be queried
|
||||
# instead of parsed. Recommended for anything but small audits. Results are
|
||||
# written directly to the file, so there is no report() step.
|
||||
reporter.Sqlite(specs).to_file("report.db")
|
||||
|
||||
# Or to ODS spreadsheet
|
||||
report = reporter.Ods(specs)
|
||||
report.report()
|
||||
|
||||
Reference in New Issue
Block a user