bim-code

install bim-cli · windows · per-user · no admin
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

VerbWhat 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.

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.

related bim-cli drivers: Revit, PDF, AutoCAD, Excel, and more Headless AutoCAD DWG automation from the CLI — bim-acad bim-bcf Blender IFC Conversion from the Command Line -- bim bim-bro Building energy simulation from the CLI — bim-energy Read and write Excel files from the CLI — bim-excel bim-gis Google Sheets and Docs from the command line — bim-google Convert, resize, and diff images from the CLI — bim-image Split, extract, and compress Revit PDFs — bim-pdf bim-pdfv bim-pod Revit CLI: run C# and export sheets -- bim-revit Script a running Rhino 6 session from a terminal — bim-rhino bim-rules Site, Zoning & Parcel Data from the Command Line -- bim Script SketchUp with Ruby from a terminal — bim-sketchup bim-ui
install bim-cli · windows · per-user · no admin
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.