# slicer.modules.markups.logic().AddNewFiducialNode() does not work in preview release

**URL:** <https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902>\
**Category:** Support\
**Tags:** markups-fiducials\
**Created:** [February 10, 2022, 10:02pm UTC](https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902 "2022-02-10T22:02:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![koeglfryderyk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/koeglfryderyk/32/14638_2.png) [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Post date:** [February 10, 2022, 10:02pm UTC](https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902/1 "2022-02-10T22:02:17Z")

</div>

slicer.modules.markups.logic().AddNewFiducialNode(“test\_fid\_node”) does not work in the nightly build 4.13.0-2022-02-06. When this line of code is executed ‘’ (empty string) is returned.

It works in the stable release 4.11.20210226

---

<div class="post-metadata">

**Author:** ![smrolfe](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/smrolfe/32/3659_2.png) [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Post date:** [February 10, 2022, 11:09pm UTC](https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902/2 "2022-02-10T23:09:41Z")

</div>

This is working for me using the most recent Windows preview 4.13.0-2022-02-09. Could you try updating to that version and let us know your OS?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [February 10, 2022, 11:17pm UTC](https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902/3 "2022-02-10T23:17:23Z")

</div>

> [@koeglfryderyk](#):
>
> licer.modules.markups.logic().AddNewFiducialNode(“test\_fid\_node”)

This specific method was broken on this one day (4.13.0-2022-02-06) due to a typo error in [BUG: Adds varying colors to ROIs added as a single node · Slicer/Slicer@c8daef4 · GitHub](https://github.com/Slicer/Slicer/commit/c8daef472497776cb9db67487c2664c384407d31). It was fixed the next day in [BUG: Fix vtkSlicerMarkupsLogic::AddNewFiducialNode · Slicer/Slicer@6db0afb · GitHub](https://github.com/Slicer/Slicer/commit/6db0afbb7d29a9fc7e8340a862f7346241647383) which would’ve been (4.13.0-2022-02-07).

---

<div class="post-metadata">

**Author:** ![koeglfryderyk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/koeglfryderyk/32/14638_2.png) [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Post date:** [February 11, 2022, 12:42am UTC](https://discourse.slicer.org/t/slicer-modules-markups-logic-addnewfiducialnode-does-not-work-in-preview-release/21902/4 "2022-02-11T00:42:39Z")

</div>

> [@koeglfryderyk](#):
>
> slicer.modules.markups.logic().AddNewFiducialNode(“test\_fid\_node”)

Thanks! It works with the current preview build (2022-02-09) I somehow didn’t think of trying it on the newest version, I’ll make sure to do this in the future
