Skip to main content
It does not need the geometry kernel, so it also runs on a server. Use it for a model that comes from a file, an API or an AI agent.

Import

Example

Notes

  • Each problem has a path, a code and a message.
  • assertValidBuildingModel returns the typed model, or throws BmValidationError.
  • An opening that overlaps another opening, or whose offset is not on its wall, is an error. Floorkit does not move it.
  • Whether an opening fits between the joints of its wall is a fact of the build, not of this check: the build reports opening-does-not-fit in warnings.
  • A size must be a number above zero: thickness, height, width, depth, radius, the stair sizes, the door panelThickness and frameWidth, and the window paneThickness. Text such as "0.2" is refused. The issue gives the path, the code and the value, such as bad-width and got 0.
  • A key that is not a field is refused with unknown-field at its path, such as $.buildings[0].storeys[0].railings[0].panel, in a file of every version. This holds for the model, the site, a building, a storey, a mass and its parts, a wall, a hosted or free opening, a slab, roof, room, stair, column, beam, railing, block, model object, annotation and room separator. Keep data of your own in the model’s metadata or in the propertySets of an element. A free-opening field on a hosted opening in a version 3 or 4 file is pose-field-on-hosted-opening instead.
  • A size can be at most 100 000 m and a baseOffset at most 10 000 m either way: a slab or roof thickness; a column, beam, railing or room height, width, depth or radius; a slab, roof, column, room or stair baseOffset. Floorkit cannot build a larger size, nor keep a larger offset to the millimetre, so the check refuses the value with the code of the field, such as bad-thickness.
  • A column with no center is placed at [0, 0], with the warning missing-center.
  • A wall thinner than 0.02 m gives the warning thin-wall at its thickness, with the value. It still builds.
  • A wall taller than 1000 m or thicker than 10 m cannot build: the build refuses it with wall-not-buildable at its height or thickness, with the value.
  • Two rooms of a storey that overlap give the warning room-overlap, with both ids and the area in m².
  • A railing has a path or a host, not both. A host and a stair slabHole must name elements that exist.
  • A bow bay takes outerStartOffset (0 to 1 m: its outer line starts that far past each jamb) and facetWidths (one width above 0 for each facet, wall-start side first). The facets run on the arc from one start of the outer line to the other, out to projection; widths that miss it by more than 1 cm in all are refused with bay-facet-widths-do-not-fit, and the message gives widths that fit. A bad value is refused with bad-bay-outer-start or bad-bay-facet-widths, and either field on a bay that is not bow with bay-field-not-for-shape. Absent, the bow starts at the jambs with equal facets, as before.
  • A valid model can fail in the build step, because the build also checks the geometry.

Signature

Parameters

unknown
required

Returns

assertValidBuildingModel

Validate and return the document, throwing BmValidationError listing every problem.

BmValidationError

savedWallThickness

The thickness of a saved wall: its own thickness, else the sum of the layers of its type.
Throws: {Error} When typeRef names no key of wallTypes, or a wall without typeRef has no thickness.

savedWallTop

Metres from the storey’s level to the top of a saved wall.

roofEdgeKinds

The kind of each outer-ring edge of a saved roof, in outline order (edge i = outerRing[i] → [i+1]): the edge’s saved kind, else the default of roofType the roof builder gives that edge.
Returns: Undefined for a FLAT roof, or a roof whose outline, overhangs or ridge direction the builder cannot read.

resolveWallJoins

Every join the builder makes between a storey’s saved walls: each end that meets nothing (free), each node of ends, each end seated on another wall’s body, each crossing and each face trim, with its point and members.
Throws: {Error} When a wall’s geometry or the network options are not buildable.

curtainWallRuns

The net start and end of each segment of a saved curtain wall, after its joins with other walls and with its own segments.

modelInState

Types

BuildingModel

'floorkit.building' | 'floorkit.building-model'
required
Discriminator. Identifiers written by earlier versions are accepted on input and replaced by these; anything else is rejected rather than guessed at.
1 | 2 | 3 | 4 | 5 | 6
required
From version 5 a hosted opening’s offset counts along the wall’s saved location line from its saved start, wherever a join leaves the built end of the wall. An earlier file is moved to it when it is opened (migrateHostedOpeningStations): each opening keeps the place it was drawn at.
'meters'
required
An assertion, not a conversion knob. Spelled to match OPBaseDocument.units.
'y'
required
Y-up, matching the Three.js scene and every element’s own convention.
string
required
string
Record<string, string>
BmPsets
v2 interoperable name. psets remains readable for v1 documents.
BmPsets
BmSite
Optional site framing. Present so a multi-building document has somewhere to say where it is.
BmBuilding[]
required
Record<string, BmAssetRef>
Catalog assets, referenced by instances. .op / .opbase remain the asset format.
Record<string, BmWallType>
Wall types, referenced by a wall’s typeRef. A key shares the id namespace of the document: it must not equal any element id.
Record<string, BmOpeningType>
Reserved for the opening type library. Its ids share the document namespace.
Record<string, BmMaterial>
Materials, named by the material of a wall, a wall layer or a roof. A key shares the id namespace of the document: it must not equal any element id.
BmConditioning
Conditioning-export metadata; absent means sensible defaults.

ModelState

ModelInState type

RoofEdgeKind

What one outer-ring edge of a pitched roof is: an eave, a gable end (verge) or a half-hip.

ResolveWallJoinsOptions

Partial<Pick<BmStorey, 'elevation' | 'height' | 'wallNetworkState' | 'wallJoins'>>
The storey the walls stand on: its elevation and height (a wall’s default height), its saved wall network state and join overrides. Elevation 0, height 3 and no saved state when absent.
BuildingModel['wallTypes']
The building’s wall types, for walls that take their thickness from typeRef.

WallJoin

One join the builder makes.
string
required
The builder’s junction key, which BmStorey.wallJoins names; face:&lt;segment end&gt;:&lt;host&gt; for a face trim. Segments are named as the builder names them: the run’s id, then &lt;id&gt;:segment:&lt;n&gt;.
WallJoinKind
required
[ number, number ]
required
Where the join is, in plan [x, z] metres: the node, the stem’s seat, or the crossing.
WallJoinMember[]
required
JoinType
For a node of ends: the join type in force (the saved override, the first end’s, the network default).

CurtainWallRun

The net stretch of one segment of a curtain wall.
number
required
Index of the segment on the saved wall, from 0.
number
required
Stations in metres along the whole wall run, as divisions.offsets of kind positions counts them: the outer faces of the two edge mullions.
number
required

WallJoinKind

How walls meet.

WallJoinMember

One wall at a join: an end of one segment of a saved wall run, or a point along its body.
string
required
The saved wall run (BmWall.id).
number
required
The segment of the run, from 0 at its first point.
WallEnd | 'path'
required
An end of that segment, or path where the join is on the segment’s body.
number
For path: metres along the segment’s built centreline from its start.

JoinType

WallEnd

BmArcObject

A circular arc authored in a building working plane; angles are radians.
'arc'
required
string
required
string
required
[ number, number ]
required
number
required
number
required
number
required
Signed sweep, with 0 &lt; abs(sweepAngle) &lt;= 2π.
BmColor

BmCuboidObject

BmCylinderObject

An analytic upright cylinder centered in a horizontal building working plane.

BmCuboidSizeObject

An upright solid dimensioned around a horizontal working-plane center.

BmCuboidFreeformObject

An upright extrusion with an authored footprint and optional through holes.

BmLineObject

A straight segment authored in the local coordinates of a building working plane.

BmPolylineObject

An open path authored as vertices in a building working plane.

BmPolygonObject

A filled profile authored in a building working plane.

BmRectangleObject

BmRectangleSizeObject

A rectangle dimensioned around a center in plane-local coordinates.

BmRectangleFreeformObject

An edited rectangle saved as an arbitrary filled plane-local profile.

BmModelObject

Extend this discriminated union as additional model primitives are supported.

BmWorkingPlane

A named local 2D frame in world XYZ coordinates.

BmColor

A colour as #rrggbb.

BmSceneCategory

BmPsetValue

Named property sets with scalar values.

BmPsets

BmPhase

The renovation status of an element: absent means new.

BmCameraPose

A camera pose.

BmSite

The parcel.
string
required
string
PolygonProfile
Parcel in the world XZ plane; holes are excluded islands.
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
LotLineClass[]
One class per outer-ring edge of boundary (edge i = outerRing[i] → [i+1]).
number
World Y of grade. Default 0.
GeoAnchor
WGS84 anchor for the local origin, if the project is georeferenced.
number
Degrees from project north (−Z) to true north, positive clockwise from above. Any finite angle; replace-site and an opened model store it in -180..180 (720 becomes 0, 270 becomes -90).
ZoningRuleSet
The zoning rules this document was evaluated against — values are the consumer’s; the schema and evaluator are zoning/.
{ crs: `EPSG:${number}`; easting: number; northing: number; gridNorthDeg?: number; }
Grid coordinates of the model origin, in the projected grid crs names (EPSG:&lt;code&gt;, in metres, easting to the east and northing to the north). Any projected grid: Floorkit keeps no register of systems and refuses only a code of EPSG’s 4000–4999 latitude-longitude block.
{ id: string; profile: PolygonProfile; arcs?: { outerRing?: (BmWallArc | null)[]; }; }[]
Other land the applicant owns, beside the boundary of the application site.
BmContextBuilding[]
The buildings around the site, drawn as outlines and simple bodies.
BmRoad[]
The roads around the site, drawn as kerb lines with their names on a site or block plan.
BmWater[]
The rivers, drains and ponds around the site, drawn as banks with their names on a site plan.
{ at: PointXZ; elevation: number; }[]
Spot levels of the ground, which is the surface through them. Absent: flat at elevation. This is the finished ground: walls reach down to it and context buildings stand on it.
{ at: PointXZ; elevation: number; }[]
Spot levels of the ground as it was surveyed before the works, the surface through them, with the rules of groundPoints. It shapes nothing; a section or elevation draws it as its own existing-ground line. Absent: no existing ground is drawn.
BmSurroundingGround
The ground around the plot, for its contours and its 3D surface; it shapes no building.
BmPsets
BmPsets

BmContextBuilding

A building beside the site: an outline, eaves and ridge heights and a roof type.
string
required
string
PolygonProfile
required
World XZ outline with its courtyards as holes; a pitched roof takes no holes.
{ outerRing?: (BmWallArc | null)[]; }
number
World Y of its ground. Absent: the lowest of the site’s groundPoints surface under its outline; without them, the lowest of surroundingGround there when its heightBasis is assumed and it stands outside the plot; else the site elevation.
number
required
Metres from the base to the eaves, above 0.
number
Metres from the base to the ridge, at least eavesHeight. Absent: flat at the eaves.
RoofType
Absent: GABLE when the ridge is above the eaves, else FLAT. SHED is refused.
number
As BmRoof.ridgeDirection.
'measured' | 'derived' | 'assumed'
Where its heights come from. Elevations and sections leave an assumed one out.
BmPsets

BmSurroundingGround

The ground around the plot as a regular grid of heights.
PointXZ
required
World XZ of the first sample.
number
required
Metres between samples, above 0.
number
required
Samples in each row, 2 or more.
number[]
required
World Y of each sample, row by row: columns along +x, rows along +z; 2 rows to 40 000 samples.
number
The level above the sea of world Y 0, added to the contour levels and labels. Default 0.
BmPsets

BmRoad

A road beside the site: its carriageway, either a centreline with a width (the kerbs stand width / 2 either side of it, and the ends stay open, as a road runs on off the plan) or a closed outline.
string
required
string
PointXZ[]
World XZ points along the middle of the carriageway, two or more, no two in a row the same.
number
Metres from kerb to kerb, above 0. Only with centreline, which needs it.
PolygonProfile
World XZ outline of the carriageway, with its islands as holes. Instead of centreline and width.
BmPsets

BmWater

A water beside the site: a river, a drain or a canal as a centreline with a width (its banks stand width / 2 either side, open at the ends, as the water runs on off the plan), or a pond or a lake as a closed outline.
string
required
string
PointXZ[]
World XZ points along the middle of the water, two or more, no two in a row the same.
number
Metres from bank to bank, above 0. Only with centreline, which needs it.
PolygonProfile
World XZ outline of the water, with its islands as holes. Instead of centreline and width.
('bank' | 'cut')[]
Only with outline: one kind for each edge of its outer ring, edge i running from point i to the next (the last closes the ring). A bank draws; a cut is where a traced stretch of a river ends and the water runs on, and draws nothing. Absent: every edge is a bank.
BmPsets

BmConditioning

string
BmSceneCategory
Record<string, string>
BmCameraPose[]
Default poses. --cameras and --sample-cameras both override these.

BmBuilding

string
required
string
string
Free-form programme tag — residential, office, … Kept open; consumers disagree on the set.
BmPsets
BmPsets
BmWorkingPlane[]
Named world-space frames for model objects owned by this building.
BmGridLine[]
Structural grid lines of the building, drawn on its plans and sections.
BmLevel[]
Extra datum levels; the storeys stay the levels of the floors.
BmMass
The massing volume, when the building is (also) a mass. Its segments REFERENCE storeys in storeys by id — the storey list stays the single source of elevations and heights, and a storey may carry zero elements while the mass gives it a body.
BmStorey[]
required

BmGridLine

A grid line in the world XZ plane, with a bubble at one end, the other or both.
string
required
string
required
The bubble text, such as A or 3.
PointXZ
required
PointXZ
required
BmWallArc
'start' | 'end' | 'both'
Where the bubbles go. Default both.

BmLevel

A datum level of a building: a named elevation in metres, above the world origin.

BmMassSegment

One extruded segment of a mass (podium, tower, setback), bottom-up.
string
required
string
PolygonProfile
required
Footprint in the world XZ plane; holes are courtyards.
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
number
required
Extrusion height. Must equal the sum of the referenced storeys’ heights.
string
BuildingUse value, or any string (custom: is implied).
BmColor
Colour of this part, #rrggbb. A part without one takes the color of the mass, else the colour of its use in the palette of the build (MASS_COLORS_BY_USE, or BuildOptions.massColors), else #a0b8c8.
string[]
required
Ids of the storeys that tile this segment, bottom-up and contiguous.

BmMass

string
required
number
required
World Y of the bottom face of segments[0].
string
BmColor
Colour of every part of the mass that has no color of its own, #rrggbb.
BmPsets
Data on the physical mass element; building-scope data stays on BmBuilding.
BmMassSegment[]
required

BmWallSegmentRef

Authored identity of one segment, including a closed run’s final wrap segment.

BmDetachedFaceTrim

Auxiliary face trim; axes and host/opening ownership stay in authored walls.

BmWallNetworkState

V4 reconstruction state; saved nonautomatic joining is not supported yet.

BmStorey

One storey.
string
required
string
number
required
World Y of this storey’s structural floor datum.
number
required
Floor-to-floor height. Also the default wall height for walls that omit one.
string
Programme for this storey — retail, residential, …
AreaKind
What the plate of this storey counts as (basement, core, parking, …). Derived when absent: a parking use gives parking, a storey whose top is at or below the site grade gives basement, otherwise gross. Zoning counts toward the floor area ratio only the kinds in countsTowardFAR.
BmPsets
BmPsets
BmWall[]
BmModelObject[]
Basic geometry saved in this storey, placed by a building working plane.
BmUnhostedOpening[]
v3 openings placed in the world XZ plane without a host wall.
import('../../elements/walls/wall-model').WallJoinOverride[]
BmWallNetworkState
V4 only. Restored before the first network resolution; never a second wall model.
BmSlab[]
BmRoof[]
BmColumn[]
BmBeam[]
BmSpace[]
BmStair[]
BmRailing[]
BmRamp[]
BmAssetInstance[]
BmChimney[]
Chimney stacks; each cuts the roofs of its building that it passes through.
BmSoilStack[]
Soil and vent stacks of this storey.
BmStoreyAnnotation[]
Plan notes of this storey in model metres: dimensions, texts and leaders. They have no 3D body.
BmRoomSeparator[]
Lines that split rooms without a wall, in the world XZ plane. They have no 3D body.

BmAnnotationRef

One end of a dimension tied to an authored element, such as a wall: an end or a face of it.

BmDimensionAnnotation

A dimension line between two points of the storey plan, in model metres.
string
required
'dimension' | 'arc-length' | 'radius'
required
PointXZ
required
PointXZ
required
PointXZ
number
required
Distance of the dimension line from the measured points, in metres; the sign picks the side.
number
Decimal places of the shown length.
string
Text shown instead of the measured length.
BmAnnotationRef
The element point that start follows.
BmAnnotationRef
The element point that end follows.
boolean
True when a referenced element is gone and the points stay as saved.

BmTextAnnotation

A text note at a point of the storey plan.
string
required
'text'
required
PointXZ
required
string
required
number
Degrees in the plan, counter-clockwise from above. Default 0.

BmLeaderAnnotation

A leader: a text joined by a polyline to the point it names.
string
required
'leader'
required
PointXZ
required
The point the arrow touches.
PointXZ[]
required
The bend points from the target to the text, at least one.
string
required
'arrow' | 'dot' | 'none'
The mark at the target: an open arrow, a filled dot, or nothing. Default arrow.

BmStoreyAnnotation

A plan note of a storey, in model metres.

BmRoomSeparator

A polyline that splits rooms where there is no wall, with 2 points or more.

BmWall

string
required
string
PointXZ[]
required
Centreline in the world XZ plane. Network walls require horizontal paths, so there is no Y here to get wrong; the compiler places it at the storey’s elevation.
boolean
(BmWallArc | null)[]
One entry per segment: segment i runs from points[i] to the next point (the first one for the closing segment of a closed wall). An entry &#123; through &#125; makes that segment a circular arc through the point through; null, a missing entry or no arcs is a straight segment. Stations (an opening’s offset) run along the arc length.
import('../../elements/walls/wall-model').LocationLine
number
number
{ start: import('../../elements/walls/wall-model').WallEndJoin; end: import('../../elements/walls/wall-model').WallEndJoin; }
import('../../elements/walls/wall-model').WallEndClosures
Free-end layer closing on a typed, open wall. A missing end uses the wall type.
number
Absent on a wall with typeRef, whose type gives the thickness; required on every other wall. Read a saved wall’s thickness with savedWallThickness.
number
Metres from the wall’s foot (baseOffset) to its top, as Revit’s “Unconnected Height” and Archicad’s wall height. Absent, the top is the owning storey’s height above its level.
number
Metres from the storey’s level to the wall’s foot: below it when negative, above it when positive (Revit: “Base Offset”; Archicad: the base’s offset to the home storey). A wall with a height moves as a whole; without one its top stays where it is. The heights of its openings stay measured from the storey’s level. A plinth and the rows of a curtain grid start at this foot; with baseToGround the base fills from this foot down to the ground. Below the top of the wall; 0 when absent.
boolean
The wall top follows the underside of the roofs of its storey where a roof covers it, as Revit’s “Attach Top” does; where no roof covers it the wall keeps its height. The top is made at build time, so a roof edit carries the wall in the same step. Off when absent.
string[]
With topFollowsRoof: true, the roofs of the building the top follows, on any storey.
boolean
The wall goes on below its storey down to the site ground, as a plinth: where the ground under the wall lies below the wall’s bottom, a base of the wall’s own plan shape fills down to the lowest ground point under it. Off when absent. The storey slab is not changed.
BmWallPlinth
A band of another material at the foot of the wall, as a brick plinth under render (Revit: a stacked wall, or a split region of the outer layer): from the wall’s bottom up to height above it, level along its top. The bottom is the lowest ground under the wall when the base runs to the ground, else the wall’s base. On a wall with a type the band is the type’s first layer; on a wall without one it is the whole thickness. Openings cut it. In a gap of gaps the wall’s own material stands down to its bottom. Absent: no plinth.
BmWallBand[]
Bands of another material on the wall between two heights, as a timber band in render (Revit: a split region of the outer layer). On a wall with a type a band is the type’s first layer; on a wall without one it is the whole thickness. Openings cut a band; with topFollowsRoof the roof does too, so a band may stand above the wall’s height, in its gable. They overlap neither each other nor the plinth, whose brick no band enters (a saved model with baseToGround that has one opens, and the brick is built); in a gap of the plinth a band may stand. A plan draws the wall’s own material. Absent: no bands.
{ ownSide: 'left' | 'right'; }
A wall on the boundary with the neighbour; ownSide is the side that belongs to this building.
BmPhase
boolean
false: a demolished wall does not join a new wall, and a new wall does not join a demolished one, when either of the two has false; each keeps its full length, with no trim or mitre at the other. A demolished wall still joins an existing wall and another demolished wall. Joins across phases when absent.
'open' | 'closed'
How a proposed plan draws the holes of this demolished wall’s own demolished openings: 'closed' draws the wall whole over them, 'open' leaves them open. Open when absent.
WallMaterial | string
BRICK, CONCRETE and WOOD draw their hatch where a plan or a section cuts the wall (brick, concrete, wood); GLASS, OTHER, a free string and no material draw the solid poché.
string
Key of BuildingModel.wallTypes. The type then gives the wall its layers, so thickness and material must be absent.
boolean
Reverses the layer list of the wall type; the body stays where the location line places it. Off when absent.
BmColor
BmPsets
BmPsets
BmCurtainGrid
Makes the wall a curtain wall: mullions, transoms and glass or spandrel panels in place of a solid body. It keeps its joins; it hosts doors only. positions divisions are distances along the wall from its first point, like an opening’s offset.
BmOpening[]
Hosted by this wall. The nesting IS the host relationship.

BmWallPlinth

The plinth band of a wall (BmWall.plinth).
number
required
Metres from the wall’s bottom to the top of the band; above 0.
string
required
A WallMaterial value or a key of BuildingModel.materials; not empty.
BmWallPlinthGap[]
Where the wall has no plinth, as between brick piers (Revit: segments removed from a wall sweep). They do not overlap. Absent: the plinth runs the whole length.

BmWallPlinthGap

A stretch of a wall without its plinth: metres along the wall from its first point, over the whole run, like an opening’s offset.

BmWallBand

A band of another material on a wall (BmWall.bands).
string
required
A WallMaterial value or a key of BuildingModel.materials; not empty.
number
required
Metres from the storey’s level to the bottom of the band; on or above the wall’s foot, which is the ground with baseToGround.
number
required
Metres from the bottom of the band to its top; above 0.
number
Metres along the wall from its first point, over the whole run, like an opening’s offset: where the band starts. The start of the wall when absent.
number
Where the band ends, as from; the end of the wall when absent.

BmWallType

A shared wall build-up: layers listed from the left face to the right face of the drawing direction.
string
required
The name a user sees for the type; not empty.
BmWallLayer[]
required
At least one layer.

BmWallLayer

One layer of a wall type.
string
required
A WallMaterial value or a free string; a free string validates with an unknown-material warning.
number
required
Above 0, or exactly 0 for a membrane.
WallLayerFunction
required
What the layer does; it gives the join rank when joinRank is absent.
number
An integer from 1 to 5 that overrides the rank the function gives. A LOWER rank wins at a join, the opposite of a wall’s priority, where a higher number runs through. A membrane has none.
BmWallLayerClosure
Closes the layer beside each opening and at each free end of the wall, as a cavity closer does. A membrane has none; a corner or a join is never closed. Not closed when absent.

BmWallLayerClosure

What closes a layer of a wall at an opening or at a free end (BmWallLayer.closure).
string
required
A WallMaterial value or a key of BuildingModel.materials.
number
required
Metres along the wall, from the side of the opening or the end of the wall; above 0.
boolean
True: the plan cut is a box with two diagonals and no fill, in place of the material’s hatch.

BmWallArc

An arc segment of a wall: the circle through its two end points and through.
PointXZ
required
A point of the arc between the two ends, in the world XZ plane; not on their chord.

BmCurtainGrid

The grid of a curtain wall; see CurtainGrid.

BmWallSettings

The settings of a wall: every field except its identity, its axis and its openings.

BmStationAlong

Distance along the wall’s saved location line (its points) from points[0], accumulated across segments and including the closing segment when closed.

BmOpening

BmUnhostedOpening

An opening placed in the world XZ plane, with no wall cutter or host relationship.

BmUnhostedDoor

BmUnhostedWindow

BmUnhostedOpeningPose

PointXZ
required
World [X, Z] position in metres.
number
required
Degrees in the world XZ plane: +X is 0, counter-clockwise seen from above (toward −Z) is positive. Clockwise before version 6.
number
Former host wall depth, or an authored frame depth; framePlace is a place in it. Defaults to 0.15 m.
never
never
never
never

BmBuiltInOpeningProfile

Built-in wall aperture profiles.

BmOpeningProfile

A wall cut profile.

BmOpeningBase

string
required
string
BmStationAlong
required
BmPhase
BmPsets
BmPsets
BmOpeningProfile
The contour of a void or filled aperture. Absent means rectangular.

BmOpeningFill

Embedded block assigned to a wall opening.

BmDoorLeafAsset

Embedded solid block drawn in the door leaf frame.

BmDoor

BmOpeningFill
An embedded block filling the exact hosted aperture.
'door'
required
BmDoorLeafAsset
Embedded block fitted inside the opening; frame, swing and fittings are still the door’s.
number
required
number
required
number
Threshold height above the wall base. A real 3D position for a door. Default 0.
number
number
Height of the frame head, above 0. Absent means frameWidth. The hole goes up to its top.
number
Height of a threshold board between the jambs, as deep as the frame. The leaf stands on it and its head stays at height. Absent: no board. Not on an OVERHEAD or SECTIONAL door.
BmWindowSill
An external bar immediately below the door. Absent means no bar.
BmOpeningFramePlace
number
DoorType
How the door draws and builds: WOOD, GLASS, DOUBLEDOOR, SLIDING, FOLDING, DOUBLEACTION or OTHER. See the door types page. Absent means WOOD.
1 | 2 | 3 | 4
Which way the door swings, facing along the wall from its first point: 1 hinges at the wall-start jamb and opens to the left face, 2 at the wall-end jamb to the left face, 3 at the wall-start jamb to the right face, 4 at the wall-end jamb to the right face. Absent means 1.
number
How far the leaf is open, 0 to 180 degrees: 0 closed, 90 square to the wall, 180 flat against it; the arc ends at the leaf. Absent means 90.
'flush' | 'panelled' | 'half-glazed' | 'glazed' | 'planked' | 'ribbed'
WOOD, DOUBLEDOOR, DOUBLEACTION, FOLDING, SLIDING and OTHER doors only, but ribbed: that one is for OVERHEAD and SECTIONAL doors only. Absent means flush.
number
A panelled leaf only: panels per leaf, a whole number from 1 to 8. Absent means 4.
BmDoorLeafLites
A flush leaf of a WOOD, DOUBLEDOOR, DOUBLEACTION, FOLDING, SLIDING or OTHER door: glass in it.
number
A planked leaf only: width of a vertical board. The leaf takes the nearest whole number of equal boards. At least 0.02. Absent means 0.1.
number
A planked leaf only: width of the stiles and rails around the boards. Absent means 0, no frame.
number
A planked leaf with a boardFrame only: height of the bottom rail. Absent means boardFrame.
number
A ribbed leaf only: height of a level rib. The door, or each section of a SECTIONAL door, takes the nearest whole number of equal ribs. At least 0.02. Absent means 0.1.
BmDoorLeverHandle
A lever handle on both faces of each leaf; not on a FOLDING, SLIDING, OVERHEAD or SECTIONAL door.
BmDoorCentreHandle
A handle in the middle of an OVERHEAD or SECTIONAL door, on both faces.
BmDoorPullBar
A pull bar on both faces of each leaf; not on a FOLDING, OVERHEAD or SECTIONAL door.
number
A FOLDING door only: panels across the opening, a whole number from 2 to 8. Absent means 2.
BmDoorSlidingPanels
A SLIDING door only: panels in tracks. Absent means one leaf on one track.
BmColor
BmColor

BmWindow

BmOpeningFill
An embedded block filling the exact hosted aperture.
'window'
required
number
required
number
required
number
required
Bottom of the glass above the wall base — the only vertical control for a window.
number
BmOpeningFramePlace
Not with a bay.
number
WindowType
How the window opens: FIXED, GLASS, WOOD, OTHER, CASEMENT, AWNING or SLIDING. See the window types page. Absent means CASEMENT.
BmColor
BmColor
BmWindowDivisions
BmWindowLight[]
The opening of each light. Absent: every light opens as windowType says.
number
Exterior overlap in metres of each hinged sash over its frame and dividing members.
BmWindowSill
BmWindowBay
A bay that stands out of the host wall; width stays the hole in the wall. Hosted windows only.

BmDoorSlidingPanels

The panels of a SLIDING door, of equal width, counted from the hinge-side jamb of doorQuadrant.
number
required
A whole number from 2 to 8.
number[]
The panels that do not slide: ascending, from 1. Absent means [1].
number
How far two panels in different tracks lap. Absent means 0.05.
number
One glass pane in a frame this wide in each panel. Absent: the panel takes the leaf style.
'sliding' | 'fixed'
The panels nearest the face of doorQuadrant. fixed turns the order of the tracks round and needs a fixed panel. Absent means sliding.

BmDoorLeafLites

A vertical stack of equal glass lites in each leaf of a door.
number
required
A whole number from 1 to 8.
number
required
Size of one lite over its frame.
number
required
number
required
Bottom of the lowest lite above the bottom of the leaf.
number
Clear distance between two lites. Absent means 0.1.
number
Visible width of the frame around each glass; 0 draws no frame. Absent means 0.025.
number
From the middle of the leaf to the middle of the stack, positive toward the lock edge. Absent means 0.

BmDoorLeverHandle

A lever on a vertical plate, on the two faces of a door leaf.
number
required
Axis of the lever above the bottom of the leaf.
number
From the lock edge of the leaf to the axis of the lever. Absent means 0.05.
number
From the axis to the tip of the lever, toward the hinges. Absent means 0.12.
number
Absent means 0.04.
number
One third of the plate is above the axis. Absent means 0.16.

BmDoorCentreHandle

A level bar and a plate below it, half as wide, in the middle of the width of a door.
number
required
Middle of the bar above the bottom of the door.
number
Absent means 0.19.

BmDoorPullBar

A vertical pull bar on the two faces of a door leaf.
number
required
number
required
Bottom of the bar above the bottom of the leaf.
number
From the lock edge of the leaf to the middle of the bar. Absent means 0.1.
number
Width of the bar. Absent means 0.03.

BmOpeningFramePlace

The place of a door or window frame across its wall.
number
required
Depth of the frame across the wall: at most the wall thickness, at least a door’s leaf.
'left' | 'right'
The wall face that reveal starts at, facing along the wall. Absent: the frame is centred.
number
Distance from face into the wall to the frame, 0 or more. Needs face. Absent means 0.

BmWindowDivisions

Mullions, transoms and glazing bars of a window.
number[]
Mullion centres, metres from the jamb at the wall-start side, ascending, inside the width.
number[]
Transom centres, metres above the sill, ascending, inside the window height.
number[][]
One transom list per column (mullions + 1 entries, wall-start side first), metres above the sill, ascending, inside the window height. Replaces transoms; lights then count column by column from the wall-start side, bottom up.
number
Face width of the mullions and transoms. Absent means 0.06.
{ columns: number; rows: number; barWidth?: number; }
Bars in every light: columns by rows of panes, whole numbers from 1 to 8. Absent means 1 by 1.
'separate' | 'joined'
joined: the mullions and transoms are one body with the frame, as deep as it, so an elevation draws one line round each light and no frame line through a member. Absent means separate: members of their own, which the frame line runs past. Not with a bay.
'mitred' | 'through'
through: the foot of the frame is a member of its own from edge to edge and the jambs stand on it, so an elevation draws its top line over the full width of the frame. Absent means mitred: one frame, with an inner line at the foot between the jambs. Not with a bay.
BmWindowHinges
Absent: no hinge blocks. Not with a bay.

BmWindowHinges

Two hinge blocks on the frame or the member at the hinge side of each side-hung light, next to the light and a little proud of both faces of the frame.
number
required
Along the wall: at most the frame width, or half a mullion.
number
required
number
required
From the foot of the light to the lower block, and from its head to the upper block.

BmLightOpening

How one light of a window opens.

BmWindowLight

One light of a window between its mullions and transoms.
number
required
Row by row from the bottom-left light: (transoms + 1) rows of (mullions + 1) lights.
BmLightOpening
required
'start' | 'end'
A side-hung light only: the hinged side. Absent means start, the wall-start side.

BmWindowSill

The sill under a window.
number
Metres past the wall face, 0 to 0.3. Absent means 0.05.
number
Absent means 0.05.
number
Metres past each jamb. Absent means 0.025.
'left' | 'right'
The wall face it projects from, as doorQuadrant names the faces. Absent means right.

BmWindowBay

A bay or oriel window that stands out of its host wall.
'canted' | 'square' | 'bow'
required
number
required
Metres out of the host wall face, above 0 and at most 2.
'left' | 'right'
required
The face it stands out from, as doorQuadrant names the faces (left is +acrossWall).
number
A canted bay only: degrees of the side facets to the wall, 15 to 75. Absent means 45.
number
A bow bay only: straight facets, a whole number from 3 to 9. Absent means 5.
number
A bow bay only: metres along the wall face past each jamb where the bay’s outer line starts, 0 to 1. The facets then run on an arc from that point on one side to that point on the other, out to projection. Absent means 0: the outer line starts at the jambs.
number[]
A bow bay only: the width of each facet’s outer line, metres, wall-start side first, one entry per facet (as many as facets, 5 when absent), each above 0. The facets run on the same arc as equal ones would; the widths must fit it, within 1 cm in all, and are then fitted exactly. Widths that do not fit are refused, with the widths that would. Absent: equal facets.
number
Corner post width. Absent means 0.1.
'wall' | 'none'
Below the sill: a solid base down to the wall base (wall) or none, an oriel. Absent means wall.
'wall' | 'bay'
On a host wall whose base runs to the ground: the ground its base runs down to. wall: the wall base, the lowest ground under the whole wall. bay: the lowest ground under the bay’s own outline. Absent means wall. A bay without a base ignores it.
'lean-to' | 'hipped' | 'flat' | 'none'
Absent means lean-to.
BmWindowDivisions[]
One entry per facet, wall-start side first: that facet’s mullions and transoms, measured on the facet’s glass. The window’s divisions then gives only memberWidth and glazingBars as defaults, and lights count facet by facet. Absent: every facet takes the window’s divisions.
string
Saved id of a bay window on the storey directly above that this bay runs into. The lower bay then has no roof; a band of its base fills its outline from its head to the upper bay’s sill, and the upper bay builds no base of its own. Absent: the bay stands alone (today).
{ projection: number; depth: number; material?: string; }
With continuesTo only: the lowest depth metres of the band, up to the upper sill, stand projection metres out from the bay’s outer faces, as a tile-hung skirt or a string course. Both above 0. Absent: the band is flush with the bay.

BmDoorTypeFields

The saved door fields an opening type may stamp.

BmWindowTypeFields

The saved window fields an opening type may stamp.

BmOpeningType

Door or window type.

BmVoid

A plain unfilled hole — WallOpening.
'void'
required
number
required
number
required
number
Sill height above the wall base. Default 0.

BmSlabRole

Which class to build.

BmSlab

string
required
string
BmSlabRole
PolygonProfile
required
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
{ outerRing?: (number | null)[]; holes?: (number | null)[][]; }
number
required
number
required
Metres above the storey’s elevation to the plate’s BOTTOM face (its underside, for a ceiling).
SlabMaterial | FloorMaterial | CeilingMaterial
SlabOptions['edgeProfile']
SlabMaterial | FloorMaterial
SlabMaterial | FloorMaterial
BmPhase
BmColor
BmPsets
BmPsets

BmRoof

string
required
string
PolygonProfile
required
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
{ outerRing?: (number | null)[]; holes?: (number | null)[][]; }
RoofType
number
number
number
required
number
required
Metres above the storey’s elevation to the wall-plate height at the outline. The eave drops below it by overhang × tan(pitch).
'plumb' | 'square'
How a slope ends at its eave: plumb (the default), a vertical face, or square, a face at right angles to the slope. The top edge of the eave stays, so overhang is measured to it. The outline is taken as the outer face of the walls: a wall that stands out past it, as one drawn on its centre line does, is not seen, and the cut or its boards may meet that wall. The eave of a SHED is its low edge, and edges in line with it: a part of the roof that goes on below that line, or is set back from it, stays upright.
number
Plan direction of the ridge in degrees from +X, counter-clockwise seen from above. Absent: the outline’s longest edge. Before version 6 it turned clockwise.
boolean
RoofMaterial | string
A RoofMaterial, a key of BuildingModel.materials, or a free string, as on a wall: a free string validates with an unknown-material warning and builds as OTHER.
string
Key of BuildingModel.materials for the bare edge of the roof plate, where no board covers it: the face at the eaves and at the verges. Its pattern and colours draw on that face in elevations. Absent: plain.
(BmRoofEdge | null)[]
One entry per outer-ring edge (edge i = outerRing[i] → [i+1]); null or a missing entry takes the default of roofType for that edge.
number
Metres above baseOffset where the slopes stop and a flat plate closes the roof.
{ edge: number; drop: number; }
FLAT only. The plate falls toward outer-ring edge edge: that edge stays at baseOffset, and the plate rises drop metres at the point of the outline farthest from that edge’s line. Absent: level.
BmRooflight[]
Roof windows in the slopes. The nesting is the host link.
BmDormer[]
Dormers on the slopes. The nesting is the host link.
BmRoofTrim
Fascia, soffit, bargeboards, gutters and downpipes along the edges.
string[]
Ids of roofs of the same building, on any storey, that this roof is trimmed against: the part of this roof inside another roof’s mass goes, and the valley where they meet is a true edge. Below that roof’s eave plane, the part inside its outline (the wall line of the higher part) and the overhang of that part go too, up to its wall plate.
string[]
Ids of roofs of the same building, on any storey, whose space under their underside removes the part of this roof inside it: a roof that runs on under a cross roof trimmed to it stops at that roof’s underside. Each listed roof is sloped. Absent: no roof cuts this one.
BmPhase
BmColor
BmPsets
BmPsets

BmRoofTrim

The trim along the edges of a roof, in metres.
{ depth: number; thickness?: number; material?: string; }
On eave edges; depth is the height of its vertical face. On an eave cut square the board lies on the cut face and depth runs along it: past the plate’s thickness it hangs below the underside along the same line.
boolean
A closed soffit under the eaves overhang.
string
Key of BuildingModel.materials for the soffit; it needs soffit: true.
{ depth: number; thickness?: number; material?: string; }
On gable and half-hip edges; it ends square where its eave is cut square.
{ profile: 'half-round' | 'ogee' | 'square'; size: number; edges?: number[]; }
Along every eave edge; size is its width. edges lists the outer-ring edges that take it; absent, every eave edge does.
{ edge: number; along: number; diameter?: number; swanNeck?: boolean; endsAt?: 'ground' | 'roof-below'; }[]
Each at a point of an eave edge, down to the ground; diameter defaults to 0.068. With swanNeck: true the pipe leaves the gutter outlet, bends back under the eaves and runs down the wall face; absent or false, it drops straight from the gutter. endsAt: 'roof-below' stops it on the highest roof of the building under it, with a socket a little above that roof; absent or ground, it runs to the ground.
{ height: number; width?: number; material?: string; profile?: 'square' | 'half-round'; }
A ridge tile along each level ridge: its top is height above the ridge, and its sides stand width apart, down to the slopes. width absent: twice height.

BmSurfacePattern

A pattern drawn on the seen faces of a material, in elevations and roof plans.

BmMaterial

A material of BuildingModel.materials.
string
required
Shown in notes and schedules; not empty.
string
BmColor
BmSurfacePattern
Pattern on seen faces. Default none.
number
Weatherboard course spacing in metres, from 0.01 to 1.0. Default 0.15.
BmColor
Solid colour of seen faces under the pattern in elevations and sections. Absent: none.
BmColor
Colour of the lines of the pattern in elevations and sections. Absent: the pen of the pattern.
{ size: number; strength: number; }
Printed render grain, with mark size in metres and shade strength from 0 to 1.
BmColor[]
Two to eight colours assigned to the cells of a tiled surface pattern.
{ from: BmColor; to: BmColor; angleDeg?: number; }
Glazing shade from one colour to another. Angle is clockwise from drawing right (default 90°).
DrawingHatchName
Hatch where cut. Absent: the solid poché.

BmRooflight

A roof window in the slope of one outer-ring edge of its host roof.
string
required
string
number
required
The outer-ring edge whose slope hosts it; on a FLAT roof any edge gives the frame.
number
required
Metres along the edge from its first corner to the centre line of the rooflight.
number
required
Metres up the slope, in the slope plane, from the eave line to its bottom edge.
number
required
Across the slope, metres.
number
required
Up the slope, metres.
number
Default 0.05.
'fixed' | 'centre-pivot' | 'top-hung'
Default centre-pivot.
BmPhase
BmPsets
BmPsets

BmDormer

A dormer standing on the slope of one outer-ring edge of its host roof.
string
required
string
number
required
The outer-ring edge of the host roof whose slope carries it.
number
required
Metres along that edge from its first corner to the centre line of the dormer.
number
required
Plan metres from the eave line to the front face, 0 or more (0: a wall-plate dormer).
number
required
Outside width of the front face, metres.
number
required
Metres from the foot of the face up to the eaves of the dormer. The foot of the face is where the face meets the top surface of the host roof slope, not its underside and not the floor, and the sillHeight of a dormer window counts from it.
'flat' | 'gable' | 'hip' | 'shed'
required
number
Degrees. flat: absent or 0 to 10 (the fall); the others 10 to 60, default 35.
number
Cheek and face thickness, default 0.1.
number
Eaves overhang of its roof, default 0.1.
(Omit<BmWindow, 'kind' | 'offset' | 'framePlace' | 'bay' | 'typeRef' | 'typeTurned' | 'fill' | 'profile'> & { offset: number; })[]
The windows in the face; offset is the metres from the left edge of the face, seen from outside, to the centre of a window.
(Omit<BmDoor, 'kind' | 'offset' | 'framePlace' | 'sill' | 'typeRef' | 'typeTurned' | 'leafAsset' | 'fill' | 'profile'> & { offset: number; })[]
The doors in the face; offset as for windows. A door’s threshold is baseHeight above the foot of the face. doorQuadrant reads in the face: along is the face from left to right seen from outside, and its left face is the inside of the loft.
{ fascia?: { depth: number; thickness?: number; material?: string; }; gutter?: { profile: 'half-round' | 'ogee' | 'square'; size: number; }; downpipes?: { side: 'left' | 'right' | 'front'; along: number; diameter?: number; endsAt?: 'host-slope' | 'roof-below'; }[]; }
Fascia and gutter along the eaves of its roof (flat and shed: the front; gable: left and right; hip: all three) and downpipes from the gutter down to the host roof slope. A downpipe’s side is its eave seen from outside, along the metres from that eave’s front end, the left end of the front eave; diameter defaults to 0.068. endsAt: 'roof-below' stops a pipe on the highest roof of the building under it, the host roof included, with a socket a little above that roof; absent or host-slope, it ends on the host roof slope.
string
Key of BuildingModel.materials for the cheeks and the face; its pattern draws on them in elevations.
BmColor
BmPhase
BmPsets
BmPsets

BmRoofEdge

The kind, pitch and overhang of one outer-ring edge of a pitched roof.
'eave' | 'gable' | 'half-hip'
eave slopes up from the edge, gable is a vertical end, half-hip a gable hipped drop below the ridge. Absent: the default of roofType for that edge.
number
Degrees, 5 to 75. Absent: the roof’s pitch.
number
half-hip only: metres from the ridge down to the foot of the hipped part, above 0.
number
Metres the eave ring stands out of this edge, 0 or more: a verge can stand out less than the eaves. Absent: the roof’s overhang. Each slope passes through the wall plate, so eaves that share one overhang drop below the plate by that overhang × tan(pitch); when the eave edges’ overhangs differ, the eaves stay level at the line the roof’s own overhang and pitch set.

BmStair

A stair on a storey.
string
required
string
StairLayout
Defaults to STRAIGHT.
PointXZ
required
Plan position of the first flight’s walkline start.
number
Plan rotation in degrees about origin, counter-clockwise seen from above (+X toward −Z); at 0 the first flight climbs toward +X. Defaults to 0. Before version 6 it turned clockwise.
number
required
Metres above the storey’s elevation to the stair base.
number
Flight width. Defaults to 1 m.
number
Level-to-level rise. Defaults to the storey’s height, which is what a stair inside a storey almost always climbs.
number
Tread depth / going. Defaults to 0.28 m.
number
Target riser height; the solver fits equal risers at or below this and maxRiserHeight.
number
Hard riser cap. Defaults to 0.19 m. A riserHeight above a saved cap is capped, and the build warns riser-above-cap.
number
Landing depth for L and U layouts, clamped to at least width. Defaults to 1 m.
StairTurnDirection
Which way an L or U turns walking up. Defaults to left.
number
number
number
number
WINDER: risers of the straight flight before the winders, a whole number from 0 to the risers left after the winders. Absent: half of those risers, rounded up. L_SHAPE and U_SHAPE: risers of the first flight up to and including the landing, a whole number from 1 to one less than all the risers; the second flight climbs the rest, so the two flights can differ in length. Absent: half of all the risers, rounded up.
90 | 180
WINDER only: how far the winders turn, 90 or 180 degrees. Absent: 90.
number
U_SHAPE only: the clear gap in metres between the two flights (the well between them), 0 or more. The half landing spans both flights and the gap. Absent: 0.05.
boolean
true: the last riser climbs to the arrival floor, which is the top tread, so the final flight has one tread fewer than its risers and ends at the floor’s edge (Revit’s End with Riser, Archicad’s Finish with Riser). A stair that ends with a riser has at least two risers, and a WINDER one at least one riser after the winders. Absent or false: the final flight’s top tread is drawn at the arrival level.
boolean
boolean
Draw the conventional break line across the first flight in plan. Defaults to true.
{ aboveCut?: 'dashed' | 'continuous' | 'hidden'; walkline?: boolean; startMark?: boolean; arrow?: boolean; words?: { up: string; down: string; } | 'none'; }
The parts of this stair’s plan symbol that draw whatever the plan view’s stairSymbol sets: aboveCut dashed, continuous or hidden, walkline, startMark and arrow true or false, words nonblank &#123; up, down &#125; or none. Each absent field keeps the view’s setting; absent keeps the view’s symbol.
number
Height in metres above the stair’s base at which a plan cuts this stair’s symbol, in place of the plan’s cutHeightAboveStorey. A positive number. Absent: the plan’s cut.
BmPhase
BmColor
BmPsets
BmPsets
BmStairSlabHole
The slab hole this stair passes through, on another storey of the same building.
number
Depth of the stair structure in metres, square to the pitch line under the nosings. With it, each flight builds as treads on a sloped waist and each landing as a slab flush with it, so the space under the stair is free. Absent (and no treadThickness or solid): a waist 0.15 m under the throat of the steps (the inner corner of a step, square to the pitch line), at most the total rise.
number
Thickness in metres of the boards of a timber stair, less than the riser height. With it, each step builds as a tread board under its walking surface and a riser board behind its front edge, and each landing as a board, with nothing under them. Not set together with structureDepth. Absent: the stair builds as structureDepth says.
boolean
true builds the stair as a solid mass from each tread and landing down to the stair base, as a stair cast on the ground. Not set together with structureDepth or treadThickness. Absent or false: the stair builds as structureDepth says.
[ left: number, right: number ]
Left and right foot heights of a solid stair in metres from its storey level, looking in the direction of ascent at the first flight. They define a plane across the stair’s width. Absent, the foot is level at baseOffset. The treads remain level in either case.
{ finishes?: StairFinishes; }
Optional finishes for parts of this stair. The structure finish also supplies the default for the other parts. A finish references a key in the project material table.
BmStairRules
The rule this stair is checked against, as data: its limits on rise, going, 2R+G and pitch. A stair that breaks one still builds, and validation warns stair-rule-breach naming the limit, as Revit’s stair calculator and Archicad’s stair rules do. STAIR_RULE_SETS holds published rule sets to save here, and a stair with rules is not also warned shallow-tread. Absent: no rule is checked.

BmStairRules

Limits a stair is checked against.

BmStairSlabHole

A link from a stair to one hole ring of a slab.
string
required
string
required
number
required
Index into profile.holes of the slab.
number
Clear distance in metres between the stair and the hole edge.

BmRailingHost

A railing that follows one side of a stair of the same storey.
string
required
'left' | 'right'
required
number
required
Distance in metres from the side of the flight to the rail, inward.

BmRailingClamps

The clamps that hold a glass pane to its posts.
number
From the post face along the railing. Must be more than the side gap. Defaults to 0.06 m.
number
Defaults to 0.04 m.
number
From the top of the pane down to the upper clamp. Defaults to 0.05 m.
number
From the bottom of the pane up to the lower clamp. Defaults to 0.05 m.

BmRailingBasePlate

The plate a railing post stands on.
number
Side of the square plate, more than the 0.05 m post. Defaults to 0.1 m.
number
Defaults to 0.015 m.

BmRailingPanel

Glass panes and their fixings below a railing’s top rail.
number
Glass thickness in metres, measured radially on curved panes. Defaults to 0.012 m.
string
'posts' | 'spigots' | 'clamped'
'faceted' | 'curved'
Curved panes follow level arcs and corner radii. The default is faceted.
number
Clear height in metres from the top of the panes to the underside of the top rail, or to height (the post tops) when the railing has no top rail. Defaults to 0.
number
Clear height in metres from the base path to the bottom of the panes. Defaults to 0.05 m, and to 0.1 m on spigots, which reach up to the panes.
number
Clear distance in metres from the side of a pane to the face of its post, or to the end of its bay when the fixing has no posts. Defaults to 0.01 m.
BmRailingClamps
Two clamps on each side of a pane, from the post over its edge. Only with posts.
BmRailingBasePlate
A square plate under each post. Only with posts.
number
The width the panes are set out at, in metres: each run of the path is split into the whole number of equal panes nearest to it (at least one), as Revit spreads a baluster pattern to fit and Archicad sets a railing’s panel segment length. Absent: no pane wider than 1.2 m.

BmRailing

A railing, as a path in WORLD coordinates rather than relative to the storey — a stair-hosted rail follows the flight nosings and therefore climbs through the storey, so a single baseOffset could not describe it.
string
required
string
[ number, number, number ][]
Rail base path, world coordinates, [x, y, z] per point. Segments may slope. A railing has exactly one of path and host.
({ through: [ number, number, number ]; } | null)[]
(number | null)[]
BmRailingHost
The stair that carries this railing; the rail follows its flight. A railing has exactly one of path and host.
number
Rail height above the base path. Defaults to 1 m; guard code typically wants at least that.
number
Centre distance between balusters in metres. Defaults to 0.11 m.
number
Side of the square baluster section in metres. Defaults to 0.02 m.
{ width: number; height: number; }
Section of the top rail in metres. Defaults to 0.06 × 0.04 m.
boolean
False leaves the top rail out: the posts or balusters run to height. Defaults to true.
BmRailingPanel
BmPhase
BmColor
BmPsets
BmPsets

BmColumn

string
required
string
ColumnShape
PointXZ
Plan position. A saved column without it is placed at the origin [0, 0], and validation warns missing-center.
number
Plan rotation in degrees about center, counter-clockwise seen from above (+X toward −Z); at 0 width runs along X. Defaults to 0. Before version 6 it turned clockwise.
number
required
Metres above the storey’s elevation to the column base.
number
Defaults to the storey’s height.
number
number
number
PolygonProfile
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
ColumnMaterial
BmPhase
BmColor
BmPsets
BmPsets

BmBeam

string
required
string
BeamShape
[ number, number, number ]
required
[x, yOffset, z] — y is STOREY-RELATIVE, unlike BeamOptions.start which is world.
[ number, number, number ]
required
number
number
number
PolygonProfile
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
ColumnMaterial
BmPhase
BmColor
BmPsets
BmPsets

BmSpace

string
required
string
required
string
PolygonProfile
required
{ outerRing?: (BmWallArc | null)[]; holes?: (BmWallArc | null)[][]; }
number
number
boolean
BmPhase
BmColor
string
What the room is used for (bedroom, kitchen, …): free text, 1 to 64 characters.
BmPsets
BmPsets

BmChimney

A chimney stack with an optional breast inside the house and pots on top.
string
required
string
PolygonProfile
required
Plan outline of the stack in the world XZ plane; outer ring only.
number
required
Metres above the storey’s elevation to the base of the chimney.
number
required
Metres from the base to the top of the stack, pots excluded.
{ profile: PolygonProfile; height: number; }
The wider part inside the house, from the base up height metres.
{ count: number; diameter?: number; height?: number; }
Default &#123; count: 1, diameter: 0.2, height: 0.6 &#125;; a count of 0 draws none.
{ kind: 'oversailing' | 'slab'; projection: number; depth: number; below?: number; courses?: number; }
The cap. oversailing: a band depth deep that stands projection out of every face, its top below metres under the stack top (default 0); courses (1 to 3, default 1) stacks that many bands, each depth deep and projection further out than the one under it. slab: a capping slab depth thick on the stack top, projection past every face; the pots stand on it. Absent: no cap.
string
BmColor
BmPhase
BmPsets
BmPsets

BmSoilStack

A soil and vent stack: a vertical pipe beside a wall face with an optional vent terminal.
string
required
string
PointXZ
required
Plan centre of the pipe, world XZ. Put it a radius plus the bracket gap off the wall face.
number
Outside diameter, metres. Default 0.11.
number
Metres above the storey’s elevation to the foot. Absent: down to the site ground under at.
number
required
Metres above the storey’s elevation to the top of the pipe, terminal excluded.
{ kind: 'open' | 'cage' | 'cowl'; height?: number; }
Absent: an open end. cage: a wire balloon; cowl: a capped vent.
string
BmColor
BmPhase
BmPsets
BmPsets

BmAssetRef

BmAssetInstance

string
required
string
required
[ number, number, number ]
required
position.y is STOREY-RELATIVE; the compiler adds the storey elevation.
number
[ number, number, number ]
Scale per axis, one size on all three: |x| = |y| = |z|. X or Z may be negative to mirror the asset; Y must be positive.
{ width?: number; depth?: number; height?: number; }
Outside size in metres along the asset’s own axes; each axis needs a stretch zone in the asset.
({ kind: 'polyline'; points: PointXZ[]; } | { kind: 'arc'; center: PointXZ; radius: number; startAngle: number; sweepAngle: number; })[]
Instance-only plan strokes in local metres. Arc angles are in radians.
BmPhase
string
BmPsets
BmPsets

BmIssue

string
required
JSON path into the document, e.g. buildings[0].storeys[0].walls[1].openings[2].offset.
string
required
Stable machine code, so a caller can branch without parsing prose.
string
required
One sentence, with the numbers in it.
BmOpeningFit
The numbers of an opening-does-not-fit issue.
BmClash
The two elements of an element-in-room or duplicate-element issue.

BmClash

Two elements that clash.

BmOpeningFit

Where a hosted opening fits on its wall, in offsets along the saved centreline of that wall.
string
required
string
required
number
required
The offset that was asked or saved.
{ start: number; end: number; } | null
required
The range of fitting offsets on its wall segment that holds nearestOffset; null when none.
number | null
required
The fitting offset nearest to offset, or null when the opening fits nowhere there.
WallOpeningFitReason[]
required
Why it does not fit; t-junction alone means it is over the seam of a T stem.
number
required
The length in metres of the longest net run of its wall: the widest opening it can cut.
number
required
The widest width of this opening that the longest net run takes: the run less the frame on each side, since a door’s or a window’s frame is cut into its wall with it.

BmValidationResult

BmCuboidBase

The package does not export this type by name.

BmRectangleBase

The package does not export this type by name.

BmFramedOpening

The package does not export this type by name.
string
Key of the opening type whose values are stamped on this opening.
true
Marker for a type whose wall-relative values are turned a half turn.
Last modified on December 4, 2026