I want to keep multiple copies of mrml nodes so that I can operate on the copies without changing the original. Kind of like clone option from data module. Is this possible? If so how can I implement it? For example - I want to create multiple copies of a curve. Any help is appreciated. Thanks
You can clone modules at many different levels. Data module’s clone feature uses the subject hierarchy plugin associated with the node, see example in the script repository.
@lassoan Hey, I see that I can copy nodes and volumes. Is there any way I can do the same thing for segments inside segmentation nodes? This seems to only work for vtkMRMLNode or vtkMRMLVolumeNode. And segments are vtkSegment
Update: I found the answer to that here: How to programmatically use logical operator add function from segment editor? - #2 by mikebind