Export a drawing as DXF, SVG or IFC (CAD and BIM files)
export_drawingExports a Construction Canvas drawing (a template, shapes, a room layout, drawing commands, house figures or a canvas document) as DXF for CAD, with the site's CQ-* layers, and as SVG, one plan per level in millimetres, or as one openBIM IFC4 model with quantity sets, as the canvas's own download writes them; a file too large to return is rebuilt from the drawing's link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | The House Estimator's form: the house drawn as the estimator draws it. | |
| level | No | One level by its id or name; left out, every level with something on its plan. | |
| detail | No | full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read. | full |
| layout | No | Rooms by name, size and which room each stands against, laid out on a grid: shared walls drawn once as partitions, every snap or move reported, and each room checked to close. | |
| shapes | No | Simple shapes the assistant has read from the reader's words — a room, a deck, a patio, a bed, a path, a fence of legs and turns — compiled into the canvas's own commands. Every length with its unit. | |
| system | No | The unit system inputs left out open in, and the one the page link opens in. The answer comes in both. | metric |
| formats | No | dxf, svg, ifc (openBIM IFC4: one file for the whole drawing, every level, with quantity sets), or several; left out, dxf and svg. | |
| variant | No | With template: one of its two "what changes if" variants, by id; a wrong one is refused with the template's own list. | |
| commands | No | Drawing commands, in order, on the canvas's blank drawing (one storey; the wall, partition, window and door types). The whole request is at most 64 KiB. | |
| document | No | A Construction Canvas document (schema 1 to the canvas's current), opened and checked by the canvas's own opener. | |
| template | No | A Construction Canvas template's slug (the template index lists them: single-room, deck, two-car-garage …): the drawing its page shows, in the reader's system, with a link that opens it. | |
| inputUnits | No | Send "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||