# Export and/or retrieve a folder's hierarchy

**URL:** <https://discourse.slicer.org/t/export-and-or-retrieve-a-folders-hierarchy/10906>\
**Category:** Support\
**Created:** [March 30, 2020, 4:38pm UTC](https://discourse.slicer.org/t/export-and-or-retrieve-a-folders-hierarchy/10906 "2020-03-30T16:38:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melodicpinpon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/melodicpinpon/32/3254_2.png) [@Melodicpinpon](https://discourse.slicer.org/u/Melodicpinpon)\
**Post date:** [March 30, 2020, 4:38pm UTC](https://discourse.slicer.org/t/export-and-or-retrieve-a-folders-hierarchy/10906/1 "2020-03-30T16:38:42Z")

</div>

Good afternoon,

In the post about the 3D parts of the whole body, Andras Lasso achieved to recreate automatically the whole hierarchy and to get the names.

Is there a way to export a readable folder hierarchy from 3D Slicer or to get it with the script and import it inside another program?

Is there a way to retrieve the hierarchy of the Terminologia Anatomica 2 (TA2) in some way?

It would spare me much time.

I hope you are doing well in this particular period,

g.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 30, 2020, 10:29pm UTC](https://discourse.slicer.org/t/export-and-or-retrieve-a-folders-hierarchy/10906/2 "2020-03-30T22:29:09Z")

</div>

Here is the script that I used to convert BodyParts3D to a subject hierarchy tree: [https://gist.github.com/lassoan/26e438c63e8249806958a408fb42c54a](https://gist.github.com/lassoan/26e438c63e8249806958a408fb42c54a)

We have TA2-2.0.3 as a csv file, which could be used in Slicer to build hierarchies, but I’m not sure if it has been publicly released yet.

@mhalle what is the status of this? Is the TA2 csv file allowed to be shared?
