Utility
zLevel
Tag objects by level
zLevel decides which level an object belongs to from the Z height of the center of its bounding box, and writes the level name into the object’s custom properties as a tag. It creates no layers, no groups and no blocks, and the tag does not change anything else about the object.
The tool has two parts, like zSection and zSectionManager:
zLevel: a level card drawn in the viewport. Everyday showing, hiding, isolating, locking and selecting of levels happens here, without opening a window.zLevelManager: the Level Manager window, for the ground elevation, making and editing levels, excluded objects, the exploded view and export. Right-click the zLevel toolbar button, or click the list icon at the top right of the card, to open it.
Quick start
- Run
zLevel. The level card appears at the top left of the viewport; run it again to hide the card. - In a document that is not set up yet, use the three setup icons in the card header, in order: ground elevation (pick a point in the viewport), excluded objects (select objects first and click, or click and then pick) and generate levels (opens the level generator of the manager). A step that is done shows a lighter icon.
- The level tags are updated once when the card opens. After you change the model, click the refresh icon of the card or Update Tags at the bottom of the manager. Tags are never updated by themselves.
- Use the eye, Isolate, select and lock buttons of a row to control each level. Click level names first to select several levels and act on all of them at once.
- Open the manager for bigger edits (right-click the toolbar button, or the list icon of the card).
The level card (zLevel)
- Header: Levels, the scissors (plan cut), the explode button, the three setup icons (ground elevation, excluded objects, generate levels; a done step is one shade lighter), refresh, and the manager. Drag the header to move the card.
- Level rows: one row per level with its name, elevation, eye (show / hide), Isolate, select and zoom, and lock.
- Selecting levels: click a name to select that level, Ctrl+click to add or remove one, Shift+click to select a range; click an empty part of the card to clear. With several levels selected, the buttons of any selected row act on all of them.
- Current level: double-click a name to make it the current level. The construction plane of the flat views moves to the bottom of that level and a small dot appears before the name. Double-click again to clear it.
- Level of the selected objects: when objects are selected in the model, the rows of their levels get a light grey tint and a dark bar on the left. The dot marks the one current level; the bar marks every level that holds a selected object.
- Isolate shows only that level. Click it again to go back to what was shown before (levels that were hidden stay hidden).
- Right-click any eye to show every level.
- Lock locks the objects of that level themselves, whatever layer they are on. Objects that join the level later are locked at the next update.
- Plan cut (scissors): puts one Rhino clipping plane 4 ft above the bottom of the current level (without a current level, the first selected level, else the lowest level), active in every view, so you look at that level in plan. Click again to remove it. It is greyed out while the levels are exploded. While it is on, the cut follows the current level (double-click a name,
zLevelUp,zLevelDown). The clipping plane is named “Plan cut” plus the level name and works with Make2D. - Excluded row: + (exclude the selected objects, or pick when nothing is selected), - (stop excluding), eye, Isolate, select and lock. Excluded objects belong to no level.
- Explode (plates pulled apart): moves the levels apart for real, by the Gap set in the manager’s VIEW card (20 ft unless changed): the lowest level stays, each level above moves up one more Gap. Click again to put them back. It turns the plan cut off, and the manager’s Stacked / Exploded switch follows. One undo step.
- Docking: drag the card within 24 pixels of any edge of the viewport and it snaps to that edge (a line on the edge lights up); drag it away to undock. A docked card folds about 0.4 s after the pointer leaves it: on the top or bottom edge only the header stays, on the left or right edge it becomes an upright bar. Move the pointer over it to open it. The position and docking are remembered.
The Level Manager window (zLevelManager)
Three step cards at the top
- 1 GROUND: the absolute ground elevation in large type. Pick Point picks the point in the viewport where the real ground is; its world Z becomes 0’-0” for every level. Right-click Pick Point to reset it to world Z = 0.
- 2 EXCLUDED: the number of excluded objects, with + / - / select buttons. + and - act on the selected objects, or start a pick when nothing is selected. Exclude terrain, site and other large, unrelated objects so that they take no part in level tagging.
- 3 TAGS: the number of levels and of tagged objects. Generate makes a stack of levels in one go. The tick icon is Check: it selects and zooms to the objects that reach past their own level (a column through two floors, for example) and the objects that are on no level, and tells you how many of each there are. The broom icon is Clear, a complete reset (with a confirmation).
LEVELS table
LINK (the tree line) / LEVEL / ELEVATION / FFE / OBJECTS / VISIBILITY (eye and Isolate) / ZOOM / LOCK. The list is always sorted by elevation.
- Click an ELEVATION value to set the elevation of that level, and an FFE value to set its floor-to-floor height. Type
infas the ELEVATION of the lowest level for no lower limit, or as the FFE of the highest level for no upper limit; type a number to set a limit again. - Click, Ctrl+click and Shift+click select levels; double-click a name to rename it; Del deletes. The + Add Level row at the end of the table adds a level.
- LINK tree line: the first column joins neighbouring levels that meet end to end, meaning they are bound (the bottom of the upper level always equals the top of the lower one). Click the connection point between two levels to bind or unbind them.
- Right-click menu: Rename, Delete | Edit Level…, Copy to Levels…, Mark as Mezzanine | Show, Hide, Isolate, Zoom to Objects | Lock / Unlock, Set as Current Level, Plan Cut Here | Select All, Invert Selection.
- Copy to Levels… opens a list to tick levels and copies the objects of this level to each ticked level, each copy moved up or down by the difference between the two level bottoms. Excluded objects are not copied, and one undo takes the whole copy back. It is not available in the exploded view: switch back to Stacked first.
VIEW | EXPORT BY LEVEL
One card in two halves.
- VIEW: switch between Stacked and Exploded, with a Gap slider. Exploded moves the objects of each level up for real (the lowest level stays, the next one moves up one Gap, the one above two Gaps, and so on); Stacked moves them back exactly. While you drag the slider only the value changes; the objects move when you let go. A change of the ground elevation or the levels, or an update, while exploded explodes again by the new levels.
- EXPORT BY LEVEL: Group, Block (note: this deletes the original objects and replaces them with block instances) and Layer (moves objects under a
level name::original layer namelayer tree; the tags stay).
Bottom
Update Tags on the left (tags every object again by the current level ranges) and Close on the right. There is no OK or Cancel, because every change applies at once.
Keyboard commands
These are plain commands; bind them to keys yourself in Rhino under Options > Keyboard.
zLevelShowAll: shows every level and leaves Isolate.zLevelIsolate: isolates the levels of the selected objects; run it again to go back.zLevelUp/zLevelDown: the current level moves one level up or down.zLevelPlanCut: a plan cut on the current level (or the lowest level); run it again to remove it.zLevelClear: the same complete reset as Clear, without opening the manager.
Dialogs
- Generate Level Stack (Generate in the TAGS card, or the generate icon of the card): makes “L1” to “LN” in three bands, Ground, Typical and Penthouse, plus an optional below-ground band “B1” to “BM”. Each band has LEVELS (the number of levels, 0 means none; Penthouse starts at 2) and FFE (the floor-to-floor height, shown as a length such as 20’; you can type a unit, such as 3.2m or 10ft). On the right, the elevation range relative to the ground elevation is shown live, with the total number of levels and the total height above and below ground. The top end of the highest level and the bottom end of the lowest are set elevations by default; a click turns them into +∞ / -∞ (no limit at that end), and another click sets them again.
- Edit Level (right-click, Edit Level…): changes the Bottom Elevation and Top Elevation of a level (a decimal such as 10.5, feet and inches such as 10’-6”, or a number with a unit such as 3.2m, 3200mm or 10ft; a plain number is feet in Imperial and meters in Metric; empty means no limit), with the floor-to-floor height shown live. Linking follows the LINK tree line and passes upward only: changing the Top moves the whole chain of levels bound above by the same amount, each keeping its own height; changing the Bottom only unbinds the level from the one below. Levels below are never changed. If two levels do not meet end to end, binding them first tells you how far the upper level will move and asks you to confirm (the default is cancel). Levels made by Generate Level Stack are bound, and an added level that sits right on the highest level is bound. If the new range overlaps another level you are asked to confirm. One Ctrl+Z undoes the whole edit.
- Add Level (the + Add Level row): Level (the name), Height, Place (Above / Below / Inside), Relative To (an existing level) and a Mezzanine check box. Above puts the new level on top of the reference level, Below puts it under, and Inside adds a mezzanine at half the height of the reference level (Inside and Mezzanine go together). The range of the new level is shown live. If that position is taken, the level there and the levels bound above it move up. By default it continues from the highest level with the next number and the same height. With no levels yet, only Level, Bottom Elevation and Height are asked.
How the settings work together
- Excluded objects never take part in tagging until you stop excluding them.
- A hidden object loses its level tag, unless it is hidden only because the eye of its level is off.
- Layer visibility and object visibility are kept apart. An object on a hidden layer is skipped, and the tool never adds its own hide on top of the layer’s.
- In the exploded view, an object is tagged by its original height (without its lift), so moving it up never changes its level.
- When level ranges overlap, an export gives the object to the first of those levels in the list.
Good to know
- Levels are decided by the Z of the bounding-box center, not by the bottom of the object.
- Neither the card nor the manager updates the tags by itself. After you change the model, click refresh in the card or Update Tags in the manager.
- Exploded moves the objects for real. If you save while exploded, the file holds the lifted positions; switch back to Stacked before saving to keep them in place. Each moved object remembers its own lift, so objects added in between do not end up in the wrong place.
- Block export deletes the original objects and the tool cannot undo it. You are asked to confirm only when a level name is already the name of a block.
- Clear is a complete reset: level definitions, the level tags on objects, the ground elevation and the excluded marks are all removed (with a confirmation, default No).
- The card is drawn only in the active viewport, and it does not scroll when there are many levels.
- Files made with the earlier
zLevelTag(and the olderzFloorTag) open as before: their levels and settings move to thezLevelnames the first time a level command runs.