Skip to content

Arrange objects precisely

eaxScadaHow-to guideStarterProEnterpriseView as Markdown

A tidy 2D screen: rows of buttons on one line, pumps of the same size, valves spaced evenly, labels on a common guide. Everything on this page only moves, sizes or shows objects. None of these tools runs an object’s command or changes what it writes.

  1. Select two or more objects: click the first one, then Shift+click (or Ctrl+click) the others, or draw a box around them.
  2. One of them is the key object: it has an amber outline and a Key badge. By default it is the last object you added. To choose another one, Shift+click it while it is selected. (A Shift+click on the key itself takes it out of the selection.)
  3. Open the toolbar’s alignment menu. Under Align to, keep Key object, or choose Selection to line up with the bounds of the whole selection instead. The choice is kept in this browser.
  4. Click an alignment: left, centres, right, top, middles or bottom. With Key object, the key stays where it is and the others move to it.

The inspector of a multiple selection has the same six Align buttons. Each alignment is one undo step. The status bar shows the selection as “3 objects selected, key: R5”.

The alignment menu over the designer: Align to Key object or Selection, the six alignments, Match size to key object, Spacing with a Space by field in px, and the Ruler guides and Snap to ruler guides switches with Clear ruler guides. The alignment menu over the designer: Align to Key object or Selection, the six alignments, Match size to key object, Spacing with a Space by field in px, and the Ruler guides and Snap to ruler guides switches with Clear ruler guides.

The alignment menu, with three objects selected and R5 as the key object.

Select the objects, make the one with the right size the key object, then in the alignment menu under Match size to key object click Match width, Match height or Match size (both). The others are resized as a handle would resize them, in one undo step.

  • A circle, a star or another object that keeps its proportions keeps them.
  • Connectors (lines and pipes, shaped by their ends) are not resized, and a text is not stretched by Match width: its font gives its size.

In the alignment menu, under Spacing:

  • Equal spacing, horizontal or vertical puts the same gap between each pair of neighbours. The two outer objects stay where they are. It needs three or more objects.
  • Space by N px: type the gap in the Space by field (20 px by default), then click the horizontal or vertical button. The first object stays; the others follow it with that gap. It needs two or more objects.

Zoom to the selection or to the whole screen

Section titled “Zoom to the selection or to the whole screen”
Keys Toolbar Does
Shift+2 Zoom to the selection Fits the selected objects in the view. With nothing selected it says so and does nothing.
Shift+1 Zoom to fit the screen Shows the whole screen.
Shift+0 Zoom to 100% Back to 100 %.

Press M, or click Minimap in the toolbar. An overview of the screen opens in the canvas’s bottom-right corner: the screen area, its objects (the selected ones highlighted) and a frame for the part the canvas shows.

  • Drag the frame, or press anywhere on the map, to move the view there.
  • Click the map and use the arrow keys to move the view.
  • M again, or the map’s close button, hides it. The choice is kept in this browser.

The minimap only moves the view: nothing is recorded or saved. It is not shown on a phone or on isometric screens.

Three objects selected with the key object outlined in amber and its Key badge, a vertical and a horizontal ruler guide in cyan, the inspector showing “3 objects selected” with a mixed fill, and the minimap in the bottom-right corner of the canvas. Three objects selected with the key object outlined in amber and its Key badge, a vertical and a horizontal ruler guide in cyan, the inspector showing “3 objects selected” with a mixed fill, and the minimap in the bottom-right corner of the canvas.

The key object, two ruler guides and the minimap.

On a busy screen, show only one layer while you edit it:

  1. Open Layers (the Layers & Group Outliner).
  2. Click the solo button (a focus icon) on the layer’s row. Only that layer’s objects are shown; the objects of the other layers can be neither seen nor selected. A banner says Solo: “Process”.
  3. Click Show all in the banner, or the solo button again, to see every layer.

Solo is a view of the editor only. It never changes the saved visibility of a layer or an object, records no undo step and is never saved: the operators see the screen exactly as before. Solo stays on through undo and redo; opening another screen, or deleting the layer, ends it.

Ruler guides are lines you place to line objects up on, like in a drawing program.

  • Add one: drag from the top ruler down onto the canvas for a horizontal guide, or from the left ruler to the right for a vertical one.
  • Move it: drag the guide. Delete it: drag it back onto its ruler.
  • Snap: a dragged object snaps to the guides, and to the other objects’ edges and centres (smart guides), whichever is nearer. With the smart guides off, the ruler guides still snap.
  • In the alignment menu: Ruler guides shows or hides them (Ctrl+;), Snap to ruler guides turns their snapping off, and Clear ruler guides… removes all of them, after asking. These two switches are kept in this browser.

Adding, moving, deleting and clearing guides are undo steps. The guides are saved with the screen, so the next engineer who opens it sees them. They are editor information only: the operator runtime never draws or reads them.

Press ? in the designer, click the keyboard button in the toolbar, or choose Help → Keyboard Shortcuts while a 2D screen is open. The Keyboard shortcuts sheet lists every key, grouped as Tools, Edit and order, Align, size and spacing, View and Fixed keys. Type in Filter shortcuts to find one.

To change a key:

  1. Click the key on the action’s row. It shows Press keys….
  2. Press the new key or combination. Escape cancels; Backspace removes the key (the action then has none, shown as None).
  3. If another action already has that key, the sheet says so (“Ctrl+D is already used by “Duplicate”.“). Click Use here to move the key: the other action then has no key.

Reset on a row puts one action back to its default key; Reset all puts every key back, after asking. Your keys are kept in this browser, for you only: another browser or another computer has the defaults.

Group Action Key
Tools Select, Hand (pan), Pipe, Curve, Polygon, Line or arrow V, H, P, B, G, L
Tools Place a rectangle, an ellipse, a text R, E, T
Edit and order Duplicate, Select all, Group, Ungroup Ctrl+D, Ctrl+A, Ctrl+G, Ctrl+Shift+G
Edit and order Bring to front, Send to back Ctrl+], Ctrl+[
Edit and order Bring forward, Send backward none
Align, size and spacing Align left, centres (horizontally), right Alt+A, Alt+H, Alt+R
Align, size and spacing Align top, middles (vertically), bottom Alt+W, Alt+V, Alt+S
Align, size and spacing Match width, height, size; equal spacing; space by N px none (give them one)
View Zoom to fit, to the selection, to 100 % Shift+1, Shift+2, Shift+0
View Minimap, ruler guides M, Ctrl+;
View This sheet ?
  • Fixed keys are listed on the sheet but cannot be changed: undo and redo (Ctrl+Z, Ctrl+Y, Ctrl+Shift+Z), copy, cut, paste, paste in place and paste special, Delete and Backspace, Escape, Enter, Tab and Shift+Tab, the arrow keys (move 1 px, with Shift 10 px), Shift+click (add to the selection, or choose the key object) and Ctrl+click.
  • Keys the studio or the browser keep: Ctrl+S (save), Ctrl+N and Alt+N (new), Ctrl+T and Alt+T (theme), Ctrl+B (sidebar), Alt+[ and Alt+] (side panels), / (palette search), Space (pan the view), and Ctrl+W, Ctrl+Q, Ctrl+R, Ctrl+L, Ctrl+P, Ctrl+F, Alt+D, Alt+F, Alt+E, F5, F11, F12.

Pressing one of them says “… is kept by the studio (…). Choose another key.”