> For the complete documentation index, see [llms.txt](https://docs.imerit.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imerit.net/labeling/labeling-editor-interface/medical-labeling-editor/line-tape-measure.md).

# Line (Tape Measure)

The Polyline tool allows you to create open 3D lines with two or more points in medical assets. A line can span multiple slices and views, and its measurement is the total length of all its segments.

## Creating a Line

In the medical labeling editor, click on a "Polyline"-type class from the "Tools" section on the left.

Click with the left mouse button on the volume to place the first point, then click to add more points. You may scroll to another slice or move to another view before placing the next point. Each point stays on the slice where you placed it. You can also draw in an oblique view while using [Reformat](/labeling/labeling-editor-interface/medical-labeling-editor.md#reformat).

Once you have placed at least two points, press **N** or click the last point again to finish the line. The line remains open: its last point is not joined to its first point.

{% hint style="info" %}
Placing the second point does not finish the line. Even for a two-point measurement, press **N** or click the last point again to finish.
{% endhint %}

While drawing, right-click to remove the last point, or press **Esc** to cancel the line.

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2Fgit-blob-eb3e187fb4964f59c9b440f13cf7a81eb9f4358e%2Fmedical-3d-polyline-5-13.png?alt=media" alt="A medical polyline with three points and its total measurement in the Objects panel"><figcaption><p>A completed three-point line, measured in millimeters.</p></figcaption></figure>

## Viewing a Line Across Slices

Segments that lie on the current slice appear as solid lines. Where a segment crosses the slice between two points, an **x** marker indicates the crossing. Hover over this marker to see the point numbers and their distances from the current slice.

When you hover over or select a line, a faint dashed outline shows the parts on other slices. The complete line is also visible in the [3D Viewer](/labeling/labeling-editor-interface/medical-labeling-editor.md#3d-viewer).

In the 3D view, polylines remain visible through segmentations as faded lines.

## Editing a Line

With no labeling tool active, select the line to edit it.

These editing controls apply to hand-drawn lines. Lines created with [Extract Centerline](/labeling/labeling-editor-interface/medical-labeling-editor/extract-centerline.md) are read-only; you can select and delete them, but cannot edit their points or move them.

* **Move a point:** click and drag the point. In axial, coronal, and sagittal views, it stays on its original slice.
* **Delete a point:** right-click the point. A line must keep at least two points.
* **Insert a point:** hold **Ctrl** and click a segment or an **x** crossing marker.
* **Extend a line:** hold **Shift** and click its first or last point, then click to add points. Press **N** or click the last point again to finish.
* **Move the whole line:** click and drag the line itself.

### Viewing the Line Measurement

As you hover over the line, or click on it, its total real-world length in millimeters will become visible. The measurement adds together the lengths of all segments and updates while you drag a point:

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2F69cbJa2S9y2VQsAbQmk0%2FKapture%202024-08-19%20at%2008.46.36.gif?alt=media&amp;token=cdf8cad4-dffa-4379-ad36-31e6ed2ba02f" alt=""><figcaption></figcaption></figure>

The Objects panel also shows the measurement next to each line. When multiple lines use the same class, the class header shows their total measurement. If the lines use different units, Ango Hub displays a separate total for each unit.

Measurements and totals update when you move, edit, or delete a line.

## Changing the Class of a Line

Left click on the line to select it, then right-click anywhere on the line and click on the three dots.

Then, from the "Change Category" sub-menu, pick the class you'd like to change the line to. The line will be assigned to that class.

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2F7aiLm04APvquDjOvlMCC%2Fimage.png?alt=media&amp;token=5ac1ffae-8af2-403a-866c-0f2255b5426e" alt=""><figcaption></figcaption></figure>

## Adding a Description / Name to a Line

You may add a manual text description or name to a line by clicking on it and pressing "D" on your keyboard.

## Quickly Navigating to a Line

You may quickly navigate to the slice where a line was drawn by holding Ctrl and hovering with the mouse cursor over the line's row in the "Objects" panel on the left-hand side of the screen.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.imerit.net/labeling/labeling-editor-interface/medical-labeling-editor/line-tape-measure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
