openingTags: 'auto' on the view instead: drawProjectView and each sheet that shows the view then draw the door and window tags.
Import
Example
Notes
tagOpeningsputs bare tag text at the centre of each opening. It does not draw a frame.- A saved plan view with
openingTags: 'auto'draws a circle for each door and a hexagon for each window, outside the swing and off the glass. The text islabelMmpaper mm high, or 2.5 mm. openingTagShape: { door, window }on the view sets the frame of the tags:'circle','hexagon'or'none'for the text only. A door has a circle and a window a hexagon when it is absent.- Both number the doors
D01,D02and the windowsW01,W02. AlabelNamethat is a tag, such asD-12, prints as written. A description, such asBedroom door, prints the number. - With
openingTagText: { propertySet, property }on the view, a door or window tag shows that property of the opening, such as{ propertySet: 'Pset_DoorCommon', property: 'FireRating' }forFD30. An opening without it keeps its number, and one warning of the drawing names those openings. - With
rooflightTags: 'auto'on a plan view, each rooflight that the plan draws gets a tag with no frame, outside a long side of its outline. The tag shows the property thatopeningTagTextnames, such asROOF LIGHT 2m x 1m, else thelabelNameof the rooflight. A rooflight with neither gets no tag, and one warning of the drawing names the rooflights without the property.rooflightTagsis a field of a floor plan (kind: 'plan') only; a roof plan draws no rooflight tags.tagPlacesmoves or hides a rooflight tag by the rooflight’s id. - With
roomCeilingHeight: trueon a plan view, each room label prints the ceiling height, such asCH 2500, between the name and the area. It is the room’sheightwhen set, else the storey height less the room’sbaseOffset. For a room with noheight, a ceiling slab or a roof of the same storey, in the phase the plan shows, that is lower over the label point and above the floor decides: a ceiling, a flat roof or the flat top of a pitched roof gives the height to its underside, and a pitched roof that slopes over the point gives no ceiling height and a warning that names the room. It is a detail line: it drops with the area when the room has no space for it. - A room label stays inside its room, clear of walls, door swings, fixtures and demolished work. It leaves its room on a leader only when its name and area fit nowhere inside; the plan then warns
Room label "<name>" of <id> finds no place in its room: drawn outside on a leader.When the area fits nowhere clear, the label prints its name only and the plan warnsRoom label "<name>" of <id> finds no clear place for its area: the area is not drawn. roomLabelon a plan view sets how the label lines read.ceilingHeight.templatewrites the ceiling height line with{mm}for the height in mm; the default isCH {mm}.area.templatewrites the area with{area}for the number; the default is{area} m².area.decimalssets the decimal places of the number; the default is 1.area.trimZeros: truedrops trailing zeros, so13.0prints13.area.show: falseprints no area, andarea.hideForUsageslists the roomusagevalues that print no area, such as['wc', 'store'], in any case:'WC'matches'wc'.area.outranksCeilingHeight: truelets a crowded label keep its area inside the room: a label with no clear place inside with all its lines then tries an inside place without the ceiling height line, before a place outside the room on a short leader with all its lines. By default the label tries the outside places next, and drops both lines only when no outside place is clear either. For example, a 2 m by 0.8 m room between other rooms printsUtilityand1.6 m²with the field, andUtilityalone without it. The field acts in the plan label pass only; the pass that re-places labels on a sheet does not read it.roomLabel.nameBeforeLeader: truelets a crowded label stay in its room: a label with no clear place inside with its lines prints its name alone inside, at its size and then at the smallest size, before a place outside on a short leader. By default the short leader comes first. It also acts in the plan label pass only. A room with a number and no area prints its number alone. For example,roomLabel: { ceilingHeight: { template: '(CH - {mm})' }, area: { template: '({area}m²)', trimZeros: true } }prints(CH - 2530), then(8.6m²)for a room of 8.62 m² and(13m²)for one of 13.0 m². The templates,decimalsandtrimZerosare metric: an imperial label prints as before. A template without its placeholder, adecimalsthat is not a whole number from 0 to 100 and an unknown field are refused when the project opens.- A window above the cut is not drawn, but the plan of its storey tags it at its place on its wall, so its number is not lost. A plan does not tag a window in a wall of a lower storey that rises through its cut.
- A door or window whose top is below the cut draws as seen, and is tagged, when its wall has no material at the cut at the middle of the opening, such as a door in a low wall. The plan looks at the middle only: under a lintel or a roof slope that reaches the cut there, the opening is not drawn.
- A tag frame is sized on the paper to hold its text, so a tag looks the same at 1:50, 1:100 and 1:200.
- A wall, door or window tag keeps clear of room labels, notes and other tags. If its place is not clear, the tag moves along its wall or to the other side. If no place is clear, the tag stays at its default place and the drawing’s
warningsname it. - Clear space is checked at 1:100 with the view’s
labelMm. On a sheet viewport at a smaller scale, such as 1:200, or with a largerlabelMm, tags can overlap again. - These labels belong to the drawing. A live
LineDimensionor datum in the 3D scene does not draw on it.
filterRoomLabels
Return the primitives with the room label lines this mode does not draw removed.tagOpenings
Append a tag per door and per window, at the centre of what that opening drew.declutterText
Return the primitives with colliding labels removed.ROOM_LABEL_NAME
Thestyle.subId values Space.toDrawing tags its two label lines with.
ROOM_LABEL_DETAIL
Types
RoomLabelMode
full = name + number · area; name = name only; none = neither.