Skip to main content
It has an axis, a thickness, a height and a base elevation. To join walls at corners, add them to a WallNetwork.

Import

Example

Notes

  • Values are in metres and the Y axis points up. The angles of a circular axis are in radians.
  • The constructor needs all WallOptions. setOPConfig accepts some of them.
  • locationLine sets which line of the wall follows the axis: the centre or one face.
  • To add a door or a window, call attachDoor or attachWindow, then commitOpeningCuts().
  • dispose() detaches the openings. Dispose the door and window objects separately.
  • Start the geometry kernel before you create this object. See Floorkit.
  • A saved wall gets a circular axis for each segment that has an arcs entry in the building model. Its plan draws true arcs; a section or elevation of it is refused for now.
  • This object is live geometry. To save a building, write it in a building model.
Inheritance: extends OPElement implements PlanVectorExportable, IPlaceable

Constructor

string
string
required
WallAxis
required
number
required
number
required
number
required
LocationLine
required
number
required
string
required
The material of the wall. A wall built from a BuildingModel whose saved material is BRICK, CONCRETE or WOOD draws that hatch in plan and section cuts; any other wall keeps the solid poché. A wall with a wall type takes the material of its first structure layer, else of its first layer that is not a membrane. It still draws the solid poché: the hatch reads the saved wall’s own material, which a typed wall does not have.
number
required
number
required
{ start: WallEndJoin; end: WallEndJoin; }
required
WallEndClosures
Overrides the layer closing at the indicated free end.
"existing" | "new" | "demolished"
The phase of the wall (BmWall.phase); absent is new.
boolean
False: a demolished wall and a new wall do not join when either has false, so neither is trimmed or mitred at the other (BmWall.joinsAcrossPhases). Joins as any other wall when absent.
boolean
The top follows a roof: an opening may then reach above height; the building checks it against the roof.
number
Metres from the storey’s level to baseElevation; hosted openings count their heights from that level.
boolean
The wall has no top of its own above baseElevation: it stands only where a followed roof covers it, and height is nominal.
boolean
The wall goes on below its bottom down to the site ground (BmWall.baseToGround).
WallPlinth
A band of material from the wall’s bottom up to height above it (BmWall.plinth).
readonly WallBand[]
Bands of other materials between two heights (BmWall.bands).
WallBuildUp
The layers of the wall’s type, when it has one; thickness is then their sum.
CurtainGrid
Makes the wall a curtain wall: a grid of mullions, transoms and panels in place of a body.
Partial<Record<"headMaterial" | "spandrelMaterial", number>>
Geometry colours resolved from the curtain’s saved project material references.
PropertySets

Properties

string
ElementType
string
Record<string, unknown>
boolean
WallFootprint
Read-only.
WallLayerRegions | undefined
Read-only. The plan regions of the wall’s layers at its joins, before openings: one entry per layer piece, each a closed ring of line and arc edges whose role says how the edge is drawn. Undefined for a wall without a build-up that shares no join with one, and for a wall whose layer join the kernel refused.
"open" | "closed"
Read-only.
Profile
WallBody | undefined
Read-only.
readonly WallBody[]
Read-only.
readonly WallBody[]
Read-only. The base under the wall down to the site ground (BmWall.baseToGround); openings do not cut it.
Readonly<CurtainGrid> | undefined
Read-only. The curtain grid of this wall, when it is a curtain wall.
number
Read-only. Where hosted-opening stations count from: a distance along the built axis from its start, 0 unless set. A wall built from a saved model counts from its saved start, so a join that moves the built start (a wall ending inside another wall’s body is drawn to that wall’s location line) does not move its openings. Every station this wall takes or gives for a hosted opening counts from here: attachOpening, moveOpening, openingFit and the opening’s own station.
number
Read-only. The level of the wall’s top where no roof it follows covers it.
number
Read-only. The level that the heights of hosted openings count from.

Methods

editableSchema

refreshOutline

planLayerRegions

The plan regions of the wall’s layers at the world height worldCutY, split at the openings the cut meets, as toDrawing splits the footprint.

layerOfBody

The layer of a body of this wall: its index in the build-up and its material.

anchorSpace

getEditAnchors

getEditFaces

Physical vertical faces for the selected wall segment’s grips and measurements.

applyEditAnchor

beginOpeningGesture

beginWallDragPreview

Show moving opening outlines while an edited wall has an uncut preview body.

endWallDragPreview

commitOpeningCuts

prepareOpeningCuts

getCurtainParts

Each built part of a curtain wall with its role; empty for a plain wall or while dragged.

getCurtainPanels

Where each glass and spandrel panel of a curtain wall stands, for a plan cut.

abortOpeningGesture

getHostedOpenings

attachDoor

attachWindow

attachWallOpening

openingFit

The one fit rule of a hosted opening: its whole cut in a net run of this resolved wall.

openingStationFromAxis

A station along the built axis from its start, counted from the station origin instead.

openingCutBounds

The cut bounds of a hosted opening along the built axis from its start.

attachOpening

detachOpening

moveOpening

getOPConfig

getNetworkConfig

restoreConfig

beginEdit

endEdit

deleteFromNetwork

setOPConfig

bind

assignAxis

setResolvedFootprint

toDrawing

The plan of the wall: its footprint split at its openings.

getExportRoots

getOpeningDiagnostics

Opening diagnostics of this wall; junctions are the junctions of this wall when given.

move

Translate this element by delta (world-space, meters).

rotate

Rotate this element by angleDeg around axis (default Y-up), pivoted at anchor (default the element’s own centroid).

dispose

Types

WallOptions

WallBody

A kernel body of a wall. The package does not export this type by name.

WallFootprint

WallLayerRegions

The layer regions of one wall, one entry per piece.

EditFace

Physical face presentation, in the same coordinate space as the authored anchors.
[ number, number, number ]
required
readonly EditAnchor[]
required
number
Overall opening width, including its lining.
readonly [ [ number, number, number ], [ number, number, number ] ]
A measured vertical span; it does not imply a new height edit operation.

CurtainGrid

The package does not export this type by name.
CurtainDivision
required
number[]
Centre heights of the transoms above the wall base, ascending. Head and sill come free.
CurtainMullionProfile
Default: 0.05 m wide, as deep as the wall up to 0.15 m.
number
Default 0.024 m. No thicker than the mullion depth.
number[]
Rows, counted from 0 at the bottom, that hold an opaque spandrel panel instead of glass.
string
Project material used for the opaque spandrel rows. Defaults to the wall colour.
string
string
boolean
number
On a wall whose top follows a roof: an opaque band this many metres deep (plumb) under the roof, along the raked head, as boarding above a gable’s glazing (Revit: a solid panel along a curtain wall attached to the roof; Archicad: a curtain wall’s sloped boundary frame and panels). The mullions and glass stop at its lower edge. Absent: the glass runs up to the roof.
string
Project material used for the opaque head band. Defaults to the frame colour.
number
On a wall whose top follows a roof: a frame bar this many metres deep (plumb) along the raked head, between the mullions and as deep through the wall as they are, as Revit’s border mullion on the sloped edge of a curtain wall. It stands under the roof, or under the head band when there is one; the glass, the spandrels and the transoms stop at its lower edge. A bar of w square to a slope of a degrees is w / cos(a) plumb. Absent: no bar.

CurtainPart

The package does not export this type by name.

CurtainPanelPlace

A glass or spandrel panel, kept for the plan: where it stands and how high. The package does not export this type by name.

HostedOpening

The package does not export this type by name.

WallHostPlacement

Where to place an opening on its host wall. The package does not export this type by name.
number
Arc length from the host wall’s start point.
number
Bottom of the rough opening above the wall’s base. Never a world Y.

WallOpeningFitInput

A full-width cut asked at one centre station of a wall, in metres from the wall base.
number
required
number
required
number
required
number
required
string
required
boolean
Count the seam of a T stem against the fit, as an added opening does: an opening over a seam does not fit, and the nearest station and fit range keep clear of the seams.
true

WallOpeningFit

Where a hosted opening fits on one wall: stations are centre distances along its axis from where the wall counts hosted stations (Wall.openingStationOrigin).
boolean
required
The whole cut lies in a net run of the wall, inside its height: the wall cuts it here.
WallOpeningFitReason[]
required
Why it does not fit; t-junction when the cut lies over the seam of a T stem.
number | null
required
The fitting centre station nearest to the asked one, or null when it fits nowhere.
{ start: number; end: number; } | null
required
The range of fitting centre stations that holds nearestStation, or null.
number
required
The length in metres of the longest net run of the wall: the widest opening it can cut.

AnalyticOpeningCutBounds

Junction

JunctionDiagnostic

Vec3

Strict 3-tuple of numbers.

LocationLine

WallMaterial

WallEndJoin

WallEndClosures

A free end may turn the adjacent leaf or leave the layer open.

WallPlinth

A plinth, and its gaps in metres along the axis from its start.

WallBand

A band: bottom is metres above the storey’s level, from and to metres along the axis.

WallBuildUp

The layers of one wall, resolved from its wall type and flipped.
string
required
The key of the wall type in BuildingModel.wallTypes.
boolean
required
The layer list is reversed; the body stays where the location line places it.
number
required
The sum of the layer thicknesses, which is the wall thickness.
WallBuildUpLayer[]
required
Ordered from the left face to the right face.

CurtainMaterialField

The package does not export this type by name.

FootprintRing

WallLayerRegion

The plan region of one layer piece of a wall, before openings.
number
required
The index of the wall footprint ring that the region belongs to.
number
required
The index of the layer in the wall’s build-up.
string
required
WallLayerEdge[]
required
A closed ring with the orientation of the footprint’s outer ring.
WallLayerEdge[][]
required
Closed rings with the orientation of footprint holes.
true
The region closes its layer and draws as a box with two diagonals (BmWallLayerClosure.cross).

CurtainDivision

How the run between the edge mullions is divided into bays. The package does not export this type by name.

CurtainMullionProfile

The section of every mullion and transom: width along the face, depth through the wall. The package does not export this type by name.

CurtainPartRole

The package does not export this type by name.

WallOpeningFitReason

Why a hosted opening does not fit at a station; t-junction alone still fits (it is cut).

JunctionKind

FootprintEdge

WallBuildUpLayer

One layer of a resolved wall build-up.
number
required
The index of the layer in the saved wall type, before any flip.
string
required
The material of the saved layer: a WallMaterial value or a free string.
WallLayerFunction
required
What the layer does; it gives the join rank when the saved layer has no joinRank.
number | null
required
1 to 5, a lower rank wins at a join; null for a membrane, which never cuts.
number
required
Distance across the wall from its left face, after the flip, where the layer starts.
number
required
Distance across the wall from its left face, after the flip, where the layer ends.
WallLayerClosure
What closes the layer at openings and free ends (BmWallLayer.closure).

WallLayerEdge

A line or arc edge of a layer region; an arc has the fields of a FootprintEdge arc.

EdgeRole

WallLayerFunction

What a layer of a wall type does.

WallLayerClosure

What closes a layer of a wall at an opening or at a free end; width is metres along the wall.

WallLayerEdgeRole

The pen of a layer edge: the wall outline, a boundary between materials, or no line.
Last modified on December 4, 2026