# Create / Edit Legend

Once you have a sample block, you can create a table with automatically generated parameter names, their values, and Legend Components or images.

{% hint style="info" %}
There are video guides as well:

* [**Create a Door Legend (Step 2)**](https://www.youtube.com/watch?v=WH10PfEZHtk)
* [**Modify Door Legend Parameters (Step 3)**](https://www.youtube.com/watch?v=KorjekKeha0)
* [**Create Window Legend Using Vertical Design (Step 4)**](https://www.youtube.com/watch?v=eI7wb_WxGgU)
* [**Split a Legend into Different Views (Step 5)**](https://www.youtube.com/watch?v=MQTvErlI1og)
* [**Create Door Legend with Images instead of Legend Components**](https://www.youtube.com/watch?v=z0JZnryPw2o)
* [**Create Door Legend with Specific Design**](https://www.youtube.com/watch?v=Y-VNjjAMkqs)
  {% endhint %}

To start creating a table, select the sample block in the view and hit **Create/Edit Legend** command.

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2F4W62JOrwXbJyk3nCsgvg%2F0.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

### Create / Edit Legend Window

A new window will open, where you can generate a table that you want to see in the Legend View.

<table data-header-hidden><thead><tr><th width="327"></th><th></th></tr></thead><tbody><tr><td>Elements of the selected category are grouped together in a tree. You can select parameter to group by using <strong>Configure Grouping</strong></td><td>Using <strong>Select Parameters,</strong> user can choose the parameters to be used in a Legend. These parameters can later be used to configure grouping.</td></tr></tbody></table>

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FrJzOnw9rRDy97pZk0VdZ%2Flegends%20creation.jpeg?alt=media&#x26;token=2875cef3-56ce-4b9f-a509-24ea4dfd25ea" alt=""><figcaption></figcaption></figure>

Using **Export to Excel**, users can export the table data.

Select single or multiple categories for the Legend table using **Select Categories**.

### Select Parameter Window

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2F58yLA4zJ0Z4VcdikNMv0%2Fselect%20parameters.jpeg?alt=media&#x26;token=a9911911-95ee-48d8-a61f-87bf07f2e50b" alt=""><figcaption></figcaption></figure>

**Available Items** – all possible parameters of the selected categories:

Some parameters are in the **BID Grouping** group – these are additional parameters that are not in the usual parameter list.

**Common parameters** checkbox – shows **only** common parameters if different categories are selected.

**Selected Items** – parameter that will appear in the Legend table. The order of parameters can be adjusted using the "Move Up" and "Move Down" buttons. The list of **Selected Items** has additional settings for every parameter:

* **Total** - if ticked, values will be summed together.
* **Hide** - if ticked, a parameter will not be visible in a table but the table can be grouped by using this parameter
* **Split by page** – if ticked, multiple Legend tables will be created for every unique value of the selected parameter.

### Configure Grouping Window

Here you can sort and group the table of elements using parameters from the **Select Parameters**.&#x20;

For example, if **Width**, **Family** and **Type** are selected in **Configure Grouping**, then the elements can be expanded, filtered, and quantified by these parameters.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FHq8AarVouwtDhbYvOAA4%2F12.jpeg?alt=media)

### Additional Settings

**Add Row Number** - adds an additional parameter displaying the row number.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FUjqYqUR06wOyYpmHc596%2F13.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FFk00GVweWFVqyA7IUrKF%2F14.jpeg?alt=media)

**Add Grand Totals** - adds a final column/row where element values are summed into a grand total.

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FY0KMGQPBXvHKwrydCv75%2F15.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2F1ZheN0LLJo7p32awNmJ6%2F16.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

**Legend Page Data** – additional properties for splitting the table through different Legend pages (Views).

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FgLe9kvqwdTtuETtehB84%2F17.jpeg?alt=media)

**Number of Rows** – number of element rows in the dialog.

**Number of Pages** – number of pages (Legend Views) to fit the information in.

**Rows per Page** – the number of rows that will be displayed in one Legend Page (View). "**0**" means everything will be created in one View.

If **Split by Page** is ticked in **Select Parameters**, the "Rows per Page" value will be disabled.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FdMLclWs2D0PuekOOXpOp%2F18.jpeg?alt=media)

### Creating Legend Table

Once everything is set up, a table can be created in the Legend View.

**Create Rows/Columns** command creates an array of sample entities depending on the direction (vertical or horizontal expansion), distance, and selected parameters. Parameter names will be displayed as text. Parameter values will be displayed in place of Generic Annotations.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FZx95xApkqlgV1hiFVXHp%2F19.jpeg?alt=media)

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FzVyPEpCz0yWqjd2ejK9T%2Fcreate%20legend%20table.png?alt=media&#x26;token=6fc6b878-1468-487b-af1e-bfaaf66054f7" alt=""><figcaption></figcaption></figure>

And the Legend table is complete. You can now close the **Create / Edit Legend** window.

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FA426CiDFze7l2HihERes%2Ffinal%20table.png?alt=media&#x26;token=9788613b-fa87-4d36-ae86-c282156cb98a" alt=""><figcaption></figcaption></figure>

### Creating Legend Table in Vertical Direction

If you're using a vertical sample block, the final steps are a bit different because the sample block needs to be arrayed in different directions.

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2F8NmOqaqZcmSVoPEDiWgN%2Fcreate%20table%20vertically.png?alt=media&#x26;token=5bdb0420-46be-42df-a326-1fb3ff5453ba" alt=""><figcaption></figcaption></figure>

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FD1tImWiNcmIpD1jkFlTm%2Fvertical%20table.png?alt=media&#x26;token=563a89c4-324f-4a3a-867a-598c1b0a90aa" alt=""><figcaption></figcaption></figure>
