# Maya Analysis and Visualization : Measuring and exporting the distance between two points

## Measure the distance between two points on two bones over time <a href="#measuringandexportingthedistancebetweentwopoints-measurethedistancebetweentwopointsontwobonesovertim" id="measuringandexportingthedistancebetweentwopoints-measurethedistancebetweentwopointsontwobonesovertim"></a>

1. In top menu select Create/Measure Tools/Distance Tool
2. Select the newly created measure distance tool from left toolbar
3. Click approximately on point 1
4. Click approximately on point 2
5. Move points 1 and 2 into exact positions (hint, if you hold down the "v" key while using the move tool, the locator will snap to a vertex on the bone)
6. Select point 1 and shift-select bone 1; press P to parent point 1 to bone 1
7. Repeat for point 2 and bone 2
8. Select the distanceDimension object (far right of hypergraph)
9. Click the exp tool in Maya XROMM Tools shelf
10. Select Distance as the Data Type and click Export
11. Name and save file


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.brown.edu/xromm/maya-analysis-and-visualization/xromm-measuring-and-exporting-the-distance-between-two-points.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
