# How to import markup control points as nodes?

**URL:** <https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806>\
**Category:** Support\
**Tags:** transforms, nrrd\
**Created:** [April 7, 2023, 10:22pm UTC](https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806 "2023-04-07T22:22:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vathsan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/vathsan/32/15691_2.png) [@Vathsan](https://discourse.slicer.org/u/Vathsan)\
**Post date:** [April 7, 2023, 10:22pm UTC](https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806/1 "2023-04-07T22:22:19Z")

</div>

I’ve exported a set of [markup control points as a table](https://slicer.readthedocs.io/en/latest/developer_guide/modules/markups.html#markups-control-points-table-file-format-csv-tsv) (.csv format). When I import the table, the control points do not appear under nodes section of the markup module. I need to apply a set of transformations to these coordinates. Is there a way to achieve this instead of creating separate .fcsv files?

Thanks,  
Vathsan

---

<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:** [April 8, 2023, 8:28pm UTC](https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806/2 "2023-04-08T20:28:55Z")

</div>

You can read the CSV as a table and then import the points from the table in Markups module.

---

<div class="post-metadata">

**Author:** ![Vathsan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/vathsan/32/15691_2.png) [@Vathsan](https://discourse.slicer.org/u/Vathsan)\
**Post date:** [April 10, 2023, 6:31pm UTC](https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806/3 "2023-04-10T18:31:09Z")

</div>

Yes, I tried that and it works fine. I was wondering if there is a way to create separate nodes for each control points, instead of having all the control points under a single node (F\_1)

 ![Screenshot from 2023-04-10 12-29-31](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/2/62aa982b440400044108803d1db2dc3619e1e0a1.png)

---

<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:** [April 10, 2023, 8:33pm UTC](https://discourse.slicer.org/t/how-to-import-markup-control-points-as-nodes/28806/4 "2023-04-10T20:33:29Z")

</div>

This it is easily doable by a few-line Python script (probably chatgpt can generate it for you), but it is not commonly needed. Can you write a bit more about what you want to achieve? What does each point represent? How many points do you have? Why do you want each point to be a separate node?
