# NthMarkup changed into NthControlPoint?

**URL:** <https://discourse.slicer.org/t/nthmarkup-changed-into-nthcontrolpoint/24424>\
**Category:** Development\
**Created:** [July 20, 2022, 10:06pm UTC](https://discourse.slicer.org/t/nthmarkup-changed-into-nthcontrolpoint/24424 "2022-07-20T22:06:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosenco](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mosenco/32/16037_2.png) [@mosenco](https://discourse.slicer.org/u/mosenco)\
**Post date:** [July 20, 2022, 10:06pm UTC](https://discourse.slicer.org/t/nthmarkup-changed-into-nthcontrolpoint/24424/1 "2022-07-20T22:06:28Z")

</div>

As someone suggested me, i read the documentation about the Migration to Slicer 5.0  
I have this method called `SetNthMarkupDescription()` but i found no clue into the guide except for this line:  
**vtkMRMLMarkupsNode::GetNthMarkupSelected() is replaced by GetNthControlPointSelected()**

It’s not SetNth and i’ve check if ControlPoint existed in the Slicer 4, but no. There is no method with ControlPoint in it.

I made a guess and i noticed that exist in Slicer 5.0 a method called SetNthControlPointDescription.

So i changed `SetNthMarkuptDescription` into `SetNthControlPointDescription`. Can someone confirm that i did right?

---

<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:** [July 20, 2022, 10:07pm UTC](https://discourse.slicer.org/t/nthmarkup-changed-into-nthcontrolpoint/24424/2 "2022-07-20T22:07:54Z")

</div>

Yes, all `Get/SetNthMarkup...` methods have been renamed to `Get/SetNthControlPoint...`.
