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.setOPConfigaccepts some of them. locationLinesets which line of the wall follows the axis: the centre or one face.- To add a door or a window, call
attachDoororattachWindow, thencommitOpeningCuts(). 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
arcsentry 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.
extends OPElement implements PlanVectorExportable, IPlaceable
Constructor
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.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.The top follows a roof: an opening may then reach above
height; the building checks it against
the roof.Metres from the storey’s level to
baseElevation; hosted openings count their heights from that
level.The wall has no top of its own above
baseElevation: it stands only where a followed roof covers
it, and height is nominal.Makes the wall a curtain wall: a grid of mullions, transoms and panels in place of a body.
Geometry colours resolved from the curtain’s saved project material references.
Properties
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.Read-only. The base under the wall down to the site ground (
BmWall.baseToGround); openings do
not cut it.Read-only. The curtain grid of this wall, when it is a curtain wall.
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.Methods
editableSchema
refreshOutline
planLayerRegions
worldCutY, split at the openings the cut meets, as toDrawing splits the footprint.
layerOfBody
anchorSpace
getEditAnchors
getEditFaces
applyEditAnchor
beginOpeningGesture
beginWallDragPreview
endWallDragPreview
commitOpeningCuts
prepareOpeningCuts
getCurtainParts
getCurtainPanels
abortOpeningGesture
getHostedOpenings
attachDoor
attachWindow
attachWallOpening
openingFit
openingStationFromAxis
openingCutBounds
attachOpening
detachOpening
moveOpening
getOPConfig
getNetworkConfig
restoreConfig
beginEdit
endEdit
deleteFromNetwork
setOPConfig
bind
assignAxis
setResolvedFootprint
toDrawing
getExportRoots
getOpeningDiagnostics
junctions are the junctions of this wall when given.
move
delta (world-space, meters).
rotate
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.A measured vertical span; it does not imply a new height edit operation.
CurtainGrid
The package does not export this type by name.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.
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.WallOpeningFitInput
A full-width cut asked at one centre station of a wall, in metres from the wall base.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.
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).
The whole cut lies in a net run of the wall, inside its height: the wall cuts it here.
Why it does not fit;
t-junction when the cut lies over the seam of a T stem.The fitting centre station nearest to the asked one, or null when it fits nowhere.
The range of fitting centre stations that holds
nearestStation, or null.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 andflipped.
CurtainMaterialField
The package does not export this type by name.FootprintRing
WallLayerRegion
The plan region of one layer piece of a wall, before openings.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.What the layer does; it gives the join rank when the saved layer has no
joinRank.WallLayerEdge
A line or arc edge of a layer region; an arc has the fields of aFootprintEdge 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.