Overview
The containment palette (sometime also called Model Tree) has functionality for displaying and editing the containment structure of the model. Containment is characterized by:
- A tree structure, where a container can contain other containers and elements.
- Every container or element can only be contained by one container. This is different from groups because one container or element can belong to any number of groups.
- Spatial containers (like buildings and building storeys) don't usually have any geometry of their own. Instead, they are used for organizing the model.
- Element containers (like element assemblies or walls containing wall parts) don't usually have any geometry of their own. Instead, they are used for organizing the model.
- Spaces are a special case because they typically have geometry of their own and contain elements.
Containment is useful for providing a basic structure for models with names people can easily talk about. For example that the topic of the discussion is the 'interior walls on the 2nd floor of building A'. But like any other hierarchy they pre-define a viewpoint. Groups are better for organizing models when there are many different, often overlapping ways for organizing. A model may have for example building storeys, construction sections, apartments, takt areas, sub-contracts etc. and handling all these can't be accomplished via containment.
The tree starts from the containers that are not contained by anything, usually the project, and shows under each container the objects it contains. The objects of a container are grouped by object class, or by the value of their default property when the Name Column option is set to Default Property Value (see Options). When a container holds more than 25 objects of the same kind, or when none of them contains anything itself, they are shown as one collection row, marked (Collection) in the value column, with the number of objects in the last column. A collection whose objects contain further objects is marked (Collection+).
The icon of a row tells whether it is a container with contents, a single object or a collection. Spatial containers without objects, for example an empty building storey, are shown in grey. Objects of object classes that cannot be part of a containment structure are not shown at all. If the model has no containment structure the palette says so.
Selecting one or more rows selects the objects in the other palettes (see Options, Speak). The palette follows changes in the model: renamed objects and changed values are updated in place, and when the containment structure itself changes, or objects are added or removed, the tree is rebuilt with the expanded rows and the scroll position kept.
Trimmer Mode
When the application is in Trimmer Mode the Containment palette shows the names of all excluded objects as strikethrough. If all objects in a collection are excluded the collection is also shown as strikethrough, and the last column of a collection shows how many of its objects are included, for example 12/40. Excluded spaces are shown as well, so that they can be included again.
When the application is not in Trimmer Mode the excluded objects are hidden - it is as if they didn't exist at all.
A spatial container counts as empty when it has no included objects, directly or in the containers below it.
Toolbar
The toolbar at the bottom of the palette has the filter box and the Options and Menu buttons.
Filter
Typing in a text filters the contents of the Containment palette based on the Name -column (the first column). The filtering uses case-insensitive contains -logic. Changing the Name column to 'Default Property Value' allows filtering using the default property value. You can also filter by both columns at once by writing the name filter, an equals sign and the value filter, for example Wall=Interior shows the rows whose name contains 'Wall' and whose value contains 'Interior'. The value part is used only when the value column is shown.
The filter is applied as you type, after a short pause. The background colour of the filter box changes when a filter is active and the filter can be cleared from the x-icon in the filter box. The rows that match are shown with their parent rows expanded. Because the filter has to look into every row of the tree, it reads the contents of all containers, which can take a moment in a large model.
Options
Name Column changes the logic for grouping the objects shown in the Containment palette. This does not change the containment itself, only how objects in each branch are grouped. The options are Object Class Name (the default) and Default Property Value. If the model has a meaningful default property for each object class the 'Default Property Value' option gives a much more meaningful result than the default object class -based view. Objects without a value for the default property are shown with the object class name in square brackets.
Show Value Column displays the value column (second column) that shows the value of the default property of the object, or the object class if Name Column is set to 'Default Property Value'. When the value column shows the default property its values can be edited, see Editing Values.
Hide Empty Containers hides all empty spatial containers from the palette. A container is empty when it has no included objects, directly or in the containers below it. Spaces are never hidden as empty containers. A container that is added while the model is open, for example a new building storey, stays visible even if it is empty until the palette is reset.
Rename Palette renames the Containment Palette. Prefixing the palette name with \\ removes the Containment-prefix from the palette name.
Speak, when turned on, allows other palettes to react to selections made in the Containment palette, e.g. highlight the selected objects in the 3D window. The action taken by the other palettes is decided in those palettes, for example the 3D window can select, isolate or reveal. Selecting a collection speaks all the objects in the collection.
Other
Behind the menu icon you find Reset, which reloads the containment tree from the model. Containers that were added while the model is open and were kept visible as empty containers are treated like any other container after the reset. The options are not changed.
Right-Click-Menu
Right-clicking a row selects it and opens the menu for that row.
New Building Storey is only visible for Buildings. It opens a dialog for the name and the elevation of the new Building Storey and adds it into the selected Building. The new building storey is included when the model uses include/exclude, and it stays visible in the palette even if it is empty.
Edit Building Storey is only visible for Building Storeys. It opens a dialog for editing the name and the elevation of the building storey.
Colorize colorizes objects in the child nodes of the selected container. For example colorizing a Building sets a different color for Building Storeys in the selected building. Each child row, or collection, gets a colour of its own, shown as a colour chip on the row, and all other objects of the model are shown out of scope. The temporary colors are removed when another palette colorizes the model.
Clear Colors removes the current temporary colors. It is shown while a colorization made from this palette is active.
Expand Children is shown for a collection whose contents have not been read yet. It reads and shows the objects of the collection.
Collapse Children collapses the child nodes of the selected node. For example collapsing the children of a Building collapses the Building Storeys in the building.
Editing Values
When the value column shows the default property value (Name Column is set to Object Class Name and Show Value Column is on), the value of an object can be edited by selecting the row and clicking the value cell. Press Enter to accept the new value. The value is written to the default property of the object, for example the name of a building storey, and can be undone like any other change.
Collections, the object class name and default properties that are not text cannot be edited. A read-only default property is marked with a lock icon and cannot be edited either.
Drag and Drop
From the Containment palette
- Dragging a node drags the node and all objects below the node. For example dragging a Building Storey into the Properties palette drags the Building Storey object and dragging the same into the 3D palette drags all objects in the building storey. Dragging a collection drags the objects of the collection, and several selected rows can be dragged together.
Into the Containment palette
- Dragging objects on top of a container node moves the dragged objects into that container. Note that new containers cannot be created like this, the target must already be a container, a spatial container (project, site, building, building storey and the like, also an empty one) or a space to accept new objects.
- The row under the mouse is highlighted while dragging when it accepts the dropped objects. Objects that cannot be moved to the target are left out, so when you drop a mixed selection only the objects that fit the target are moved. The move can be undone.
- The rules are: elements can be dropped on any container, space or spatial container; spaces can be dropped on any spatial container; a building storey can be dropped on a building, and the parts of a facility, bridge, road, railway or marine facility on their facility; any spatial container can be dropped on a project, and any spatial container except a project on a site.
Within the Containment palette
- Dragging a node on top of a container node of the same kind, for example a Building Storey on another Building Storey, merges the contents: all objects below the dragged node are moved into the target container. Note that new containers cannot be created like this, the target must already be a container to accept new objects.
- Dragging a node on top of a container node of a higher level, for example a Building Storey on a Building, moves the node itself with everything below it into the target container.
Related to
Comments
0 comments
Please sign in to leave a comment.