MRML node removal callback

python
#1

How to correctly register a callback for MRML node removal (specifically vtkMRMLModelNode and vtkMRMLMarkupsFiducialNode) in python scripted module?

0 Likes

(Andras Lasso) #2

You can observe vtkMRMLScene.NodeAboutToBeRemoved event. See an example how to observe a scene event in the script repository.

1 Like