# Load markups curve from file

**URL:** https://discourse.slicer.org/t/load-markups-curve-from-file/14905
**Category:** Support
**Tags:** extensions-manager, markups
**Created:** [December 6, 2020, 4:20am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905 "2020-12-06T04:20:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/yee/32/9085_2.png) [@yee](https://discourse.slicer.org/u/yee)
#### Post date: [December 6, 2020, 4:20am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905/1 "2020-12-06T04:20:29Z")

</div>

Hi! When I input " `curveNode = slicer.util.loadMarkupsCurve('some/folder/MarkupsCurve.fcsv')`", I just get makups node. How can I get the markupcurve? Thank you in advance !  
And if i use Edoscopy ,I just got this.  
[{E54W@1HD5FZ~OJ6$KX74P7|690x359](https://discourse.slicer.org/404)

---

<div class="post-metadata">

### Author: ![yee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/yee/32/9085_2.png) [@yee](https://discourse.slicer.org/u/yee)
#### Post date: [December 6, 2020, 4:16am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905/2 "2020-12-06T04:16:59Z")

</div>

Hi! When I input " `curveNode = slicer.util.loadMarkupsCurve('some/folder/MarkupsCurve.fcsv')`", I just get makups node. How can I get the markupcurve? Thank you in advance.

---

<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: [December 6, 2020, 4:22am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905/3 "2020-12-06T04:22:30Z")

</div>

Legacy fcsv file format is only for landmark points. You can use the new json-based file format for other markup node types.

---

<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: [December 6, 2020, 5:49am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905/4 "2020-12-06T05:49:34Z")

</div>

A post was merged into an existing topic: [MarkupsCurve with Endoscopy error message](https://discourse.slicer.org/t/markupscurve-with-endoscopy-error-message/14862/8)

---

<div class="post-metadata">

### Author: ![yee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/yee/32/9085_2.png) [@yee](https://discourse.slicer.org/u/yee)
#### Post date: [December 6, 2020, 6:58am UTC](https://discourse.slicer.org/t/load-markups-curve-from-file/14905/5 "2020-12-06T06:58:26Z")

</div>

Hello ! How can I convert the markupfiducial which I imported from the txt file to the open markups curve?  
The code which I convert txt file to the markupfiducial is "markupNode.AddFiducial(\*out[:3]) ". Thank you in advance!
