Skip to content

CLI reference

bimora <command> [options] — run bimora <command> --help for the full option list.

Common options for commands that read an IFC file:

Option Meaning
--max-size-mb N refuse files larger than N MB (default 256)
--allow-untested-schema open schemas other than IFC2X3 / IFC4 (results not verified)
--redact-header replace author, organisation and authorisation from the IFC header with (redacted)
--json machine-readable JSON instead of text
--output PATH, -o write to a file instead of standard output (parent folders are created)

Exit codes: 0 success · 1 check failed · 2 usage error · 3 input or configuration error · 4 output error. Error messages go to standard error.

Commands

Command Purpose Notable options
bimora inspect FILE schema, project, units, hierarchy, element counts --json, --output
bimora validate FILE run the validation rules --config FILE, --min-severity info\|warning\|error, --fail-on error\|warning\|info\|never (default error)
bimora spaces FILE room inventory and area totals --area-unit m2\|ft2, --csv
bimora properties FILE property values --ifc-class IfcWall, --pset Pset_WallCommon, --csv
bimora export FILE --format json\|csv JSON document or three CSV files --output (JSON file / CSV folder), --mapping FILE (one mapped CSV)
bimora compare BEFORE AFTER revision comparison by GlobalId --fail-on-changes
bimora report FILE inspection + spatial summaries + validation (JSON) --config, --area-unit, --min-severity, --output
bimora ids FILE GlobalId / UUID / STEP id map --csv
bimora bcf FILE BCF 2.1 / 3.0 topic metadata --no-people
bimora manifest create ROOT hash the files under ROOT into a manifest --output
bimora manifest check MANIFEST verify a manifest --root DIR, --model FILE (exit 1 on problems)
bimora convert VALUE FROM TO metric / imperial conversion —
bimora rules list validation rules --json

Examples

bimora inspect examples/pavilion-ifc4.ifc --json
bimora validate examples/pavilion-ifc4-incomplete.ifc --min-severity error --fail-on never
bimora validate examples/pavilion-ifc4.ifc --config examples/validation-config.toml
bimora spaces examples/pavilion-ifc2x3-imperial.ifc --csv --output rooms.csv
bimora properties examples/pavilion-ifc4.ifc --pset Pset_WallCommon --csv
bimora export examples/pavilion-ifc4.ifc --format csv --mapping examples/mapping.json --output mapped.csv
bimora compare examples/pavilion-ifc4.ifc examples/pavilion-ifc4-revision-b.ifc --json --output diff.json
bimora report examples/pavilion-ifc4-incomplete.ifc --area-unit ft2 --output report.json
bimora ids examples/pavilion-ifc4.ifc --csv --output ids.csv
bimora convert 1 acre m2
bimora rules