Rename vtkMRMLMarkupsFiducialNode

Operating system: window 10
Slicer version: 5.2.1

In the case of ‘vtkCurve’ and ‘vtkClosedCurve’ nodes, changing their ‘name’ is reflected on the screen in real time. However, in the case of 'vtkMRMLMarkupsFiducialNode, even if the ‘name’ is changed, it is not reflected in real time, and it is reflected in real time only when the name of ’ Control point’ in a is changed.

When changing the name of ‘vtkMRMLMarkupsFiducialNode’ that exists in the ‘Node’ area of the UI, how is it reflected in the corresponding VIEW in real time?

SetNodes = slicer.util.getNodesByClass('vtkMRMLMarkupsFiducialNode')
    length = len(SetNodes)
    for idx in range(length):
        SetNodes[idx].SetNthControlPointLabel(0, SetNodes[idx].GetName() )

Aha, it works just by coding like this

1 Like

At far as I remember this issue was fixed in the current Slicer version (Slicer-5.2.2). Always use at least the latest Slicer Stable Release. If you find any problems in the latest version then you can report it here.