SmartReports - Sub-tables & Grouped Parameters
1. What are sub-tables?
Report sub-tables can be added using the familiar Tables logic. A sub-table could be, for example, a list of furniture in a room, or a list of doors assigned to a space.
Sub-tables can be configured like regular Tables lists (parameters, grouping/sorting, filters, display). Any number of sub-tables can be added to a report, as long as they are inserted below one another - not side by side.
Sub-tables must have a relationship to the report element of the chosen category. Without this linkage, all elements of the sub-table category appear on every report sheet.
2. Adding a sub-table
Use one of these commands in the report template: New Component List, Special Lists, Import Component List, or Table Presets.
3. Configuring the Smart Report linkage
Create the linkage in the Smart Report tab of the Component List Properties dialog. Here you connect a key parameter of the sub-table to the corresponding report element parameter:
The linkage works via matching parameter values - e.g. Room:Id of the furniture sub-table matches the Id of the room in the report.
4. Editing sub-tables retroactively
To edit a sub-table retroactively, activate a cell within the table. The ribbon automatically switches to the table commands (context-sensitive):
5. Special lists as sub-tables
All Special Lists can be used as sub-tables - provided a logical relationship to the report category exists:
Room boundary data from Revit can contain some noise. Define a filter that excludes empty values (e.g. Has attribute: GeometryHostType:TypeName) to clean up the data.
6. Grouped parameters
To display an aggregated value in a single cell - e.g. total furniture count in a room - use the Grouped Parameter command. Grouped parameters aggregate rule-based information from your Revit model into a single value.
In the edit dialog, select the parameter to aggregate and the aggregation method:
In the Smart Report tab, define the link to the parent report element - exactly as with sub-tables:
Use Edit to modify grouped parameters after the fact (select the cell first). Result in the template:
Currently all categories available for component instance lists are supported. From the Special Lists, Room boundaries and Warnings are currently supported.
Comments
0 comments
Please sign in to leave a comment.