bim-code
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Check rooms against building-code requirements for multiple jurisdictions (NYC 2022, IBC 2021). Pass a JSON envelope from Revit exec or an IFC parser; get pass/fail per room with measured vs required values and fix guidance.
Verbs
| Verb | What it does |
|---|---|
bim code version |
Print driver version. |
bim code doctor |
Check driver health: how many jurisdiction rulesets load. |
bim code jurisdictions |
List available jurisdiction IDs (e.g. nyc-2022, ibc-2021). |
bim code rules --jurisdiction <jurisdiction> |
List the rules for a jurisdiction, including the facts each rule requires. Call this before `check` to learn which room facts to supply. |
bim code check [--jurisdiction <jurisdiction>] [--rules <rules>] < <stdin> |
Check rooms against building-code requirements. Pipe a JSON envelope ({"jurisdiction":"<id>","rooms":[...]}) to stdin -- data can come from bim revit exec, an IFC parser, or manual input. Covers natural light, natural ventilation, ceiling height, minimum room area, minimum room dimension, egress door width, and egress capacity (nyc-2022); natural light and ventilation (ibc-2021, ca-2022). Returns pass/fail per room with pre-computed delta and fix guidance; missing facts produce missing_data severity rather than a guess. Use `bim code jurisdictions` to list all supported jurisdiction IDs. |
version
bim code version
Print driver version.
doctor
bim code doctor
Check driver health: how many jurisdiction rulesets load.
jurisdictions
bim code jurisdictions
List available jurisdiction IDs (e.g. nyc-2022, ibc-2021).
rules
bim code rules --jurisdiction <jurisdiction>
List the rules for a jurisdiction, including the facts each rule requires. Call this before `check` to learn which room facts to supply.
--jurisdiction <jurisdiction>(required) -- jurisdiction
check
bim code check [--jurisdiction <jurisdiction>] [--rules <rules>] < <stdin>
Check rooms against building-code requirements. Pipe a JSON envelope ({"jurisdiction":"<id>","rooms":[...]}) to stdin -- data can come from bim revit exec, an IFC parser, or manual input. Covers natural light, natural ventilation, ceiling height, minimum room area, minimum room dimension, egress door width, and egress capacity (nyc-2022); natural light and ventilation (ibc-2021, ca-2022). Returns pass/fail per room with pre-computed delta and fix guidance; missing facts produce missing_data severity rather than a guess. Use `bim code jurisdictions` to list all supported jurisdiction IDs.
--jurisdiction <jurisdiction>-- jurisdiction--rules <rules>-- rules<stdin>(required) -- JSON input on stdin
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Then ask your assistant to run bim describe --json. See what the installer does.