> For the complete documentation index, see [llms.txt](https://gitbook.brown.edu/xromm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.brown.edu/xromm/maya-analysis-and-visualization/xromm-measuring-and-exporting-the-distance-between-two-points.md).

# 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
