Using Rulers

Rulers are tools to measure or delimit some space of your layout. There is two types of Ruler: the linear one (which are basically lines) and the circular ones (circles). They both have connection points and both can provide a measurement. The Linear Rulers have one connection point at each extremity and measure the distance between these two points, whereas the Circular Rulers have one connection point in the center and measure the diameter of the circle. Circular Rulers can be used to represent pilars in an exhibition room or a round table on which you plan do show your layout, but actually the Linear Rulers are more often used to delimit the wall of the exhibition room or to measure the size of your layout.

Rulers can display their measurement in various unit:

How to Add a Ruler

To add a new ruler, you should of course first add a Ruler Layer (see the The Different Types of Layer section for more details). However the ruler edition tool is selected by default, so nothing will happen if you just click on the layout. You need to first select a Ruler Creation Tool (either Linear or Circular) from the toolbar by clicking the little arrow on 16. The steps to create the ruler are different depending of the type of Ruler:

Once the Ruler has been created, the Edition Tool will be selected again, so you need to select a Ruler Creation Tool again if you want to add another ruler. However, you can change that behavior in the Edition Preferences.

Rulers can be rotated and moved even if, most of the time, it is more convenient to adjust the position of their connections points. However, moving them as a group can be useful. Of course, they also can be copy/pasted, grouped and ordered ("Send to Back" and "Bring to Front"), just like Parts.

Ruler Attachement

By default the connections points of the selected Ruler(s) are shown as little red dot (which turn to orange when you move your mouse over them), but you can hide them if you choose the  View > Ruler Attach Points  menu. Those connection points can be attached to LEGO® parts displayed under them (so to parts which belongs to a layer placed under the ruler layer). To do that, first make sure that the connection point is above a part, then move your mouse cursor on the connection point (until it turns orange) and right click on it to choose  Attach Ruler to Part  in the context menu. When a Ruler is attached, an additional circle will be drawn around the connection point. As you can see in the screenshot above, the left point is attached to the green baseplate, whereas the right point is not attached. You can of course detach a connection point through the same context menu by choosing  Detach Ruler .

Once a ruler connection point is attached to a part, whenever you move or rotate this part, the point will stay linked to it, increasing the measured distance as needed. This feature may be handy for example if you attach the two extremities of a linear ruler to the edge of two tables in your layout, and whenever you extend your layout by inserting more tables, you will keep the size of your layout updated. Note that when a connection point is attached to a part, you can only move it inside the part. Moreover, if you try to move an attached ruler then its attached point(s) will not move, meaning that if all its points are attached, it will not move at all.

Ruler Properties

Rulers have many options that can be tuned. Just double-click on a Ruler to display its option window as seen on the screenshot above. First you can tune the thickness of the line in pixel (the thickness will stay constant no matter your level of zoom) and its color 1. If it is a Linear Ruler a check-box will let you choose if you want to offset the line from the two attach points 2. If you use an offset, then you can also tune the thickness 3 and color 4 of the guideline that will be drawn between the attach point and the line itself. By default this guideline use a a dash pattern that you can configure 5 knowing that the first value represents the size of the dash, and the second value the size of the spacing. setting zero for this second value will draw a plain line.

Finally you can also tune the drawing of the measured value. First you can decide to not draw it or not by unchecking the check-box 6. It may be useful to draw a plain line without value if you want to draw the wall of your exhibition room for example. Then if you decide to draw the value, you can choose its unit 7 and decide to show or hide the unit next to the value 8. You can also change the font used (including its size) 9 and its color 10.

Since the Rulers have a lot of settings, it would be too troublesome to change them one by one for each of ruler on your layout. Copy/pasting a ruler adjusted to your preference is a solution, but it's not a very convenient way to add rulers. A more convenient way is to adjust a ruler with the style you want, then right-click on it and choose  Use as Template  in the context menu. Then, from now on, every new Ruler that you will create will use the same settings (color, thickness, unit, etc...). Note that using the "Use as Template" function is the same as changing the ruler preferences in the Edition Preferences, so your template will be carried out even after restarting BlueBrick.