Is there an option to duplicate a segment?

I would like to know how to duplicate a segmentation on Slicer. Is there some option to do it?

best

Hi, I guess you can do the following:

To duplicate a segment you can Add a new segment and use the Copy operation under the Logical operations Effect.

To duplicate a segmentation you can clone the node by right clicking → Clone in the Data module

@simonoxen
Could you please tell where to find “clone” segment file to explore its functionalities (i.e. .cxx or .py file)?

To duplicate a segment you can Add a new segment and use the Copy operation under the Logical operations Effect.

https://github.com/Slicer/Slicer/blob/4483cc0e6f288b0816b6329f1829d9ef8c5aa81a/Modules/Loadable/Segmentations/EditorEffects/Python/SegmentEditorLogicalEffect.py

To duplicate a segmentation you can clone the node by right clicking → Clone in the Data module

https://github.com/Slicer/Slicer/blob/0094e9a35bd266cc8b0e677858dabce797c9928f/Modules/Loadable/SubjectHierarchy/Logic/vtkSlicerSubjectHierarchyModuleLogic.cxx

This question has just been asked and answered here, too:

A post was split to a new topic: How to disable the clone button?

Thank you everyone for the explanations!

I’ve submitted a pull request that makes “Clone” action clone the segment if the user right-clicks on a segment (and not clone the entire segmentation):

It will be probably merged within 1-2 days and appear in Slicer Preview Release the next day.