# Xyz coordinates

**URL:** <https://discourse.slicer.org/t/xyz-coordinates/25246>\
**Category:** Support\
**Tags:** coordinates\
**Created:** [September 13, 2022, 10:38pm UTC](https://discourse.slicer.org/t/xyz-coordinates/25246 "2022-09-13T22:38:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maria\_2000](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@maria\_2000](https://discourse.slicer.org/u/maria_2000)\
**Post date:** [September 13, 2022, 10:38pm UTC](https://discourse.slicer.org/t/xyz-coordinates/25246/1 "2022-09-13T22:38:43Z")

</div>

Hi ! I want to find the xyz coordinates of the centerline I created in the 3d slicer.  
How can I export coordinates as xyz?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 14, 2022, 5:07am UTC](https://discourse.slicer.org/t/xyz-coordinates/25246/2 "2022-09-14T05:07:21Z")

</div>

If by XYZ, you mean the IJK (voxel) coordinates, you can find an example of that in Script repository:

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#get-volume-voxel-coordinates-from-markup-control-point-ras-coordinates](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#get-volume-voxel-coordinates-from-markup-control-point-ras-coordinates)

---

<div class="post-metadata">

**Author:** ![maria\_2000](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@maria\_2000](https://discourse.slicer.org/u/maria_2000)\
**Post date:** [September 14, 2022, 1:06pm UTC](https://discourse.slicer.org/t/xyz-coordinates/25246/3 "2022-09-14T13:06:31Z")

</div>

Thank you for your reply.
