# Build an isometric screen

> Draw a plant map on a tile grid with equipment blocks and pipes, bind it to tags and commands, and give operators a map they can turn, a phone view and a keyboard path - an isometric (2.5D) screen.

Product: eaxScada · Type: How-to guide · Editions: Starter, Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/how-to/isometric-screens/
Status: migrated page, not yet verified against the current code.

## Goal

A screen that shows the plant as a map seen from above at an angle: tanks, pumps, valves and buildings on a tile grid, joined by pipes, cable trays, fences and walkways. Its blocks show live states, levels and alarms, run the same commands as a 2D button, and work on a phone and from the keyboard.

New to isometric maps? Start with the tutorial [Build your first isometric plant map](/docs/eaxscada/tutorials/build-your-first-isometric-plant-map/). [Choose an editor](/docs/eaxscada/explanation/choose-an-editor/) compares isometric maps with 2D screens and 3D scenes.

## Before you start

- You can edit screens (Lead_Engineer or Administrator).
- The tags the blocks will show exist (eaxTags, driver mappings or eaxPLC variables).

## 1. Create the screen

1. In the designer, open the **Displays** tree's **New** menu and choose **Isometric Display** (or **File → New Isometric Display...**).
2. Enter the **Display name** and its **Display id**, a **Folder** if you want one, the map's size in tiles (**Map width**, **Map depth**) and the **Palette**:
   - **High performance**: greys, with colour only for an abnormal state. Use it for operator screens.
   - **Detailed**: every part in its own colour.
3. Click **Create**. The screen opens with an empty map and the **Blocks** palette.

With nothing selected, the inspector shows the map's settings: its size, its **Ground areas** (yard, slab, grass, gravel, road, water, raised to an elevation), its **Levels**, its look and its **View**.

## 2. Place the equipment

1. In the **Blocks** palette (**/** puts the cursor in its search), click a block, then click a tile. You can also drag the block onto the map.
   - The ghost is green where the block fits and rose where it would overlap another one.
   - On a platform or a raised slab, the block stands on it.
2. Turn the selected block with **R** (**Shift+R** the other way). Raise or lower it one level step with **PgUp** / **PgDn**.
3. Move the selection one tile with the arrow keys (**Shift**: 5 tiles), or drag it.
4. **Ctrl+D**, then drag or the arrow keys and **Enter**, lays copies along a line.

Each placement, move, turn and stroke is one undo step (**Ctrl+Z**).

Blocks hidden behind others: **Alt+click** selects the next block in the stack under the pointer, **Tab** goes through every object, and **X** (x-ray) draws the blocks in front of the selection as outlines.

## 3. Connect it

1. Press **C** (or **Connect** on the map's toolbar) and choose the kind in the palette's **Connectors** section: pipe, cable tray, fence or walkway. **C** again takes the next kind.
2. Drag over the tiles. The route is an L; **Shift** keeps it straight. The pieces join up as you draw, and an end that reaches a block's port connects to it.
3. Where the level changes, a riser piece climbs one step. A level change the connector cannot make is refused, and the reason is shown before you release.
4. **Alt**+drag erases.

Select a connector to give it a **Service** (water, steam, air...), which sets its colour, and a **Flow** expression, which animates it while it is true.

## 4. Bind it to the plant

Select a block and use its inspector tabs:

| Tab | What you set |
|---|---|
| **Block** | Its id, name, **Label on the map**, position, facing, elevation and catalog version. |
| **Action** | The command it sends, as a 2D button's: the tag, the value, confirmation or e-signature, the interlock. Unconfigured means not clickable. |
| **Cond** | Visibility, interlock and interaction conditions, as for a 2D object. |
| **Bind** | **State** (the tag and which value is stopped, running, fault or transition), **Level** (a tank's fill, with its empty and full values), **Label value** (a tag and a **Format** such as `%.1f %`; text without a `%` code is shown as typed), and **Alarm sources** (one tag path per line, `*` as a wildcard). |

**Preview** in the inspector shows a state or a level on the map in the editor only; it is not saved.

Check the screen in the [Problems panel](/docs/eaxscada/how-to/check-screens-before-deploy/#isometric-screens) before you deploy it: blocks off the map or inside each other, open pipe ends, a bound block hidden behind others.

## 5. What operators see

- The map is fitted to the window. Pan by dragging, zoom with the wheel or a pinch; labels stay readable at any zoom.
- **Turn the view** with the toolbar buttons or **Q** / **E**, unless you cleared **Operators may turn the view** (nothing selected, **View**). **Set this view as the default view** (or **D** in the editor) chooses how the screen opens.
- A block's state colours come from the palette. A value with Bad quality is drawn grey and dashed with a red marker, never in its last good colour; an Uncertain one keeps its colour with a dashed outline.
- A block linked to an alarm gets its alarm class ring, outline and an alarm badge with the state in words.
- A click on a block runs its command through the same confirmation, e-signature, interlock and server checks as a 2D button. A pan or a pinch never runs a command, and only a click on the block's drawn shape counts.

### Keyboard

The map is one Tab stop. The arrow keys move between the blocks that show something or have a command; each one says its name, kind, tile, state, level, value, quality and alarm. **Enter** or **Space** runs a block's command. **Q**, **E**, **+**, **-** and **0** turn, zoom and fit the view.

In the editor, **?** (or **Keys** on the map's toolbar) lists every key, including how to place a block and draw a pipe without a pointer.

### Popups, docks and inner screens

An isometric screen can open as a [popup or in a dock](/docs/eaxscada/how-to/popups-docks-and-navigation/), with the same commands, quality and alarm rules. Closing the popup stops its map.

It can also be the inner screen of a 2D page: its default inner screen, or one a script loads with `system.nav.loadInnerDisplay` or `system.nav.swapInner` (17 November). It is drawn as its live map, fitted to the container. See [Inner screens](/docs/eaxscada/reference/screen-scripting-api/#inner-screens).

**Until its first values arrive, the map is held**, on a page, in a dock, a popup or an inner screen: hidden, and its blocks refuse every command (click, tap, momentary press, Enter or Space, the phone's card), whatever got through. On a phone the cards beside the map are hidden too. Every layer of the map is shown in the same frame once the values are in, at most 2 seconds later (longer for a very large answer: [What the operator sees](/docs/eaxscada/explanation/live-values/#what-the-operator-sees)). A map swapped, left or closed while held lets go at once.

### On a phone

The **Cards** tab lists one card per block that shows a value or has a command: its state, level, value and alarm, and a button that says what it does (the command's own label or confirmation question, else the block's name and the action). The **Screen** tab shows the map with pinch and zoom; a pan never runs a command. See [Use the runtime on a phone](/docs/eaxscada/how-to/use-runtime-on-a-phone/).

On a map narrower than 600 px, labels are decluttered so they do not pile up:

- a plain label stays on its block or is hidden; it is never moved away from its block;
- labels keep 4 px apart and are at most 130 px wide;
- the labels of blocks in alarm, with a Bad value, or focused with the keyboard are placed first, so they are the ones kept;
- alarm badges and quality markers are never hidden or covered by a label.

From 600 px up, labels are placed as before. A hidden label's value is still on the block's card in **Cards**.
[Image: An isometric map on a phone: the Cards tab with one card per block, and the Screen tab with the map and only the tank's label.]
[Image: An isometric map on a phone: the Cards tab with one card per block, and the Screen tab with the map and only the tank's label.]

Cards and the map at 390 px.
### Editing a map on a phone or a tablet

Isometric maps are edited in the **Screens** designer, which adapts to phones and tablets: one panel at a time, a bottom sheet on a phone, finger pan and pinch. In the designer a tap on a block selects it and never runs its command; try commands in the live preview or the runtime. See [Edit screens on a phone or a tablet](/docs/eaxscada/how-to/edit-screens/#on-a-phone-or-a-tablet).

## Verify

Deploy the screen, open it in the runtime, and turn one of its bound tags to a Bad value: the block turns grey and dashed with a red marker. Tab to the map and use the arrow keys: each block says its name and state.

## Troubleshooting

| Symptom | Cause | Fix |
|---|---|---|
| A block is a plain box | Its block is not in the catalog (`iso-block-missing`). | Delete it and place it again from the palette. |
| A pipe stroke is refused | The route changes level by more than one step, turns or branches where it climbs, or runs over another line at another level. | Draw it in parts; change the level on a straight run. |
| A block cannot be clicked | It has no command, its command is not fully configured, or its interlock is active. | Check the **Action** tab and its interlock. |
| The map says the drawings could not be loaded | The block catalog did not load. | Reload the page; check that the server is reachable. |
