# Output an RGL file

**Purpose**

To set the scale for and print a 3D layout image directly from Layout view. The same procedure applies to adding images to a truss design.

**Steps**

To open an RGL file in Truss Studio:

1. With the layout open, select **Output** from the **Output** menu, click ![](/images/csdirector-cstruss/resources/images/output-rgt-icon.png), or right-click to select.


![](/images/csdirector-cstruss/resources/images/ts-outputmenu-layout.png)  The **Open** window displays.

1. Browse for the desired RGL output format.


The RGL file opens in Print Preview mode and you can print a copy.

Note that you can turn layers on/off and have them be displayed/hidden in the Print Preview. (Go to **Layers > Layers Management** to turn layers on/off).

You can also adjust the scale of the layout for printed output.

1. From the drop down list at the top of the layout, select the desired scale. If **Fit to Page** is selected, the layout is sized to "best fit" in the drawing area (and custom scale options are not available).


![](/images/csdirector-cstruss/resources/images/ts-scalelayout-673x507.png)

![](/images/csdirector-cstruss/resources/images/note-onlinehelp.png) **Note:** A new "scale" variable was also created, so that the scale can be added to the .RG reports. If the **Fit to Page** option is used, **N.T.S.** is displayed on the report to indicate that the layout is Not to Scale.

![](/images/csdirector-cstruss/resources/images/ts-nottoscalereport-471x322.png)

#### To add a logo or other image to an RGL/RGT file:

1. Open the RGL file for editing in Notepad or another text editor.
2. Locate the logo file and note the name.
3. Save the logo with the same name and in the same folder as the RGL/RGT file. In this case, name the logo file **logo-90.bmp**.


An example is shown below.

![](/images/csdirector-cstruss/resources/images/ts-rgl-editlogo-1429x447.png)

![](/images/csdirector-cstruss/resources/images/note-onlinehelp.png) **Notes:**

Logo must be:

- Rotated so the top of the logo is on the left, bottom of the logo is on the right
- Resized to a maximum of 427 pixels wide x 753 pixels tall. SnagIt Editor is recommended for editing the logo.
- Located in ..\SST\Client\RG_Files
- A bitmap (BMP) file


An example logo and its orientation:

![](/images/csdirector-cstruss/resources/images/ts-logoexample-297x410.png)

![](/images/csdirector-cstruss/resources/images/note-onlinehelp.png) **Note:** You may also rotate text in RGL output -90 degrees. Adjust this setting in the Fonts section of the RGL file. Using v270 will rotate the output -90 degrees.Contact Simpson Strong-Tie support for additional assistance.

![](/images/csdirector-cstruss/resources/images/fab-rgl-negative90-degrees.png)

Mirror and Print RGL

You have the ability to mirror a layout for printing only when printing with RGL files.

1. From the **Output** menu, select **Output**.


A dialog displays where you can select and open an RGL file.

1. Click **Mirror Horizontally** or **Mirror Vertically** to mirror the file in the model space. Repeat this step, as necessary.


![](/images/csdirector-cstruss/resources/images/ts-mirrorlayoutrgl-1162x717.png)

![](/images/csdirector-cstruss/resources/images/note-onlinehelp.png) **Notes:**

- This workflow mirrors the layout for printing only during the print preview session; it is not saved between sessions.
- This impacts only the image that is being printed and not the actual layout.


Define Default Paper Size

A variable allows you to set the paper size in RGL files; the variable is PaperSize(width, height).

- Specify the paper size in inches (width x height), for example, 8.5 x 11.
- When this variable is defined in the RGL file, the paper size used when Output is executed is the paper size that is defined in the RGL file.
- If there is not a paper size defined in the RGL file, use the default Print Setup size.