# Floor plans

> Put the drawing of a floor in RackTrace, draw the rooms, place racks, outlets and access points, and check every cable length.

URL: https://docs.racktrace.io/features/floor-plans

Per floor, put the drawing in RackTrace and place the rooms, racks, outlets, access points and cameras on it. RackTrace then shows every cable route with its length and warns when a permanent link gets too long.

![A floor plan with rooms, a rack, floor boxes and an access point](https://docs.racktrace.io/assets/screens/floor-plan.webp "A floor plan: the drawing with the rooms, the rack, floor boxes and an access point, and the cable routes to the rack.")

## Opening a floor plan

- **Floor plan** on a floor page, or click the small picture of the plan there.
- **Floor plan** next to each floor on the site page.
- **Floor plan** on a room page (opens with that room selected) or a device page (zoomed in on the device).
- **On the floor plan** in the rack editor's inspector.

If the site has more than one floor, the floor IDs above the plan switch between floors.

## Adding the drawing

Click **Add drawing** and choose a file of at most 25 MB.

- **PDF**: choose the **Page** if the file has several, and fill in the **Scale of the drawing** from the title block (e.g. 1:100). Click **Use this page**. With a scale, the plan knows its metres at once.
- **DXF** (AutoCAD): check the **Units of the drawing** (read from the file) and tick the **Layers** to show. Click **Use this drawing**. The scale comes from the file. Only ASCII DXF can be read; save a binary DXF as ASCII DXF or as PDF.
- **PNG, JPG or SVG**: uploaded as they are. Set the scale afterwards with the ruler.
- **DWG** cannot be read in the browser. Save it as DXF (best: keeps scale and layers) with AutoCAD *Save As*, the free DWG TrueView or the ODA File Converter, or as PDF.

Once there is a drawing, the button is called **Drawing**: change the **Background strength**, **Replace…** the file or **Remove** it. Rooms and positions stay; check them after changing the drawing. The drawing is stored with the documentation, so it is in the backups and the tenant export.

Without a drawing you work on a grid of 40 × 25 m with a line every metre.

## Setting the scale

1. Click **Scale** in the toolbar (key `M`), or **Set the scale** in the scale bar or the floor panel.
2. Click two points whose distance you know, such as both ends of a wall.
3. Enter the **Distance in metres** and click **Set scale**.

A scale bar appears at the bottom of the plan. Without a scale, RackTrace cannot estimate cable lengths.

## Drawing rooms

1. Click **Room** (key `R`) and drag a rectangle, or click **Shape** (key `P`) and click the corners one by one. Close a shape by clicking the first point, pressing `Enter` or double-clicking. `Backspace` removes the last point.
2. In **Which room is this?**, pick the RackTrace room it is, or **+ New room on this floor** with an ID and name.
3. Click **Save**.

Rooms that exist but aren't drawn yet are listed on the left under **Rooms not drawn**; click one to draw it straight away.

Click a room to select it. The inspector shows its devices, racks and floor area, with **Room page**, **Labels for this room**, **Edit the shape** and **Remove the shape**. While editing the shape: drag a corner to move it, double-click a corner to remove it, double-click an edge to add one. **Done editing** or `Esc` ends it.

## Finding the rooms in the drawing

RackTrace can find the rooms in the drawing itself: the open spaces between the walls, split at the door openings.

1. Click **Find rooms** (key `D`), or **Find the rooms in the drawing** in the floor panel. The rooms found are outlined on the plan and numbered, and listed on the right.
2. Check each room. The name and number come from the texts of the drawing: those in a DXF or SVG drawing, and those of the PDF page you just uploaded. For a drawing uploaded earlier from a PDF, click **read them from the PDF of the drawing…** and choose that PDF again. Change the **ID** and the name where needed; leave the ID empty to have one made from the name.
3. Tick the rooms you want, or click a room on the plan to tick it. Rooms that are already drawn start unticked; tick one to give it the new outline. Under each room you can also pick a room of this floor that isn't drawn yet, to give that room the outline.
4. Click **Create … rooms**. Everything is created at once; one `Ctrl`+`Z` takes it back.

If rooms run into each other, set **Openings up to … m separate two rooms** higher (wide double doors); if a narrow room or corridor is missing, set it lower. In a drawing full of furniture or hatching with thick walls, tick **Leave out thin lines** — the thin lines of windows are then left out too, so check the rooms along the outside walls. Set the scale first: without it RackTrace takes the drawing as 40 m wide. Check the outlines afterwards and change them with **Edit the shape** where needed.

## Placing racks and devices

Everything of the floor that isn't on the plan yet is listed on the left under **Not on the plan**, grouped into racks, access points, outlets & floor boxes, cameras, workstations, phones, printers and other devices. Search with **Find on this floor…**.

1. Click an item in the list, then click on the plan where it is. Or drag it from the list onto the plan.
2. Drag a symbol to move it. A device dropped in another room of the floor moves to that room.
3. Racks are drawn at their real size: that of their [cabinet model](https://docs.racktrace.io/features/rack-cabinets#cabinet-model), or 0.6 × 1 m without one; the thick side is the front. Select a rack and press `R`, or use **⟲ 90°** / **⟳ 90°**, to turn it.

Select an item to see its details: for a device the room, model, IP, live state and every port with where it goes; for a rack its devices and what is patched there. `Delete` or **Remove from the plan** takes the item off the plan; it stays documented.

## Cable routes and lengths

A line runs from every outlet and access point to its patch location: the rack it is cabled to. A patch cable from a device to the outlet it is plugged into is dotted. Planned cables are dashed. Turn the routes on or off with **Cable routes** in the toolbar.

- With nothing selected, the floor panel sets the route style: **Along walls** (an L-shaped route: one horizontal and one vertical leg; it doesn't follow the walls on the drawing) or **Straight**.
- The estimated length is the route plus **Extra per cable (rises, slack) in m**, 6 m by default, set in the same panel. When a cable has a documented length, that length is used.
- A route turns **orange** above 80 m and **red** above 90 m, the limit for a permanent link. The floor panel lists the routes longer than 90 m.
- Hover a route to see the device, the rack and the length.

## Creating outlets and access points on the plan

Click **Add** and choose **Outlet / floor box**, **Access point**, **Camera** or **Other device**, then click on the plan where it goes. The floor needs at least one drawn room.

### A new outlet or floor box

1. Check the **Room** and choose the **Model**: wall outlet 1× / 2× / 4×, floor box 2× / 4× / 6×, ceiling outlet 1× / 2×, or your own template.
2. Under **Permanent link to a patch panel**, choose the **Patch panel**. Its first free rear ports are connected to the rear ports of the outlet.
3. Choose the **Cable** type. **Length (m)** is filled in from the plan when the panel's rack is placed.
4. Click **Create**.

### A new access point, camera or other device

1. Check the room, model, ID, name and **Management IP**.
2. Under **Patched into**, choose the nearest free outlet port (it's suggested when it's within 10 m), or **+ New ceiling outlet here, cabled to a patch panel** and pick the patch panel.
3. Click **Create**. With a new ceiling outlet, RackTrace places the outlet next to the device, cables it to the panel and patches the device into it.

One `Ctrl`+`Z` removes everything that was just created. Your browser remembers the last model you chose.

## Live status on the plan

Turn on **Live** in the toolbar. Every symbol gets a dot: green for online, red for offline, grey for unknown. Access points show their number of WiFi clients. The status comes from UniFi or another discovery source, or from Domotz, and is refreshed every minute.

## Printing the floor plan

1. Click **Print**.
2. Choose **Paper (landscape)**: A4 or A3. Tick **Cable routes**, **IDs of rooms, racks and devices** and **List of ports with their patch location and length (next pages)** as needed.
3. Click **Print…**. To get a PDF for the installer, choose **Save as PDF** in the print dialog.

The first page has the plan with its scale and a legend; the next pages list every port with its patch location, cables and length. The printable report of a site includes every floor plan too.
