Change preview of Grow from seeds effect

Hi all,

I would like to change the preview of the Grow from seeds effect of the Segment Editor module from the default “fill only” to “outline only”. I dived into the code a bit and I think I need access to the previewNode of the effect. Where can I find the instance of SegmentEditorGrowFromSeedsEffect from Python?

Never mind, I think I found it:

e = segmentEditorWidget.activeEffect()
ps = e.parameterSetNode()
previewNode = ps.GetNodeReference("SegmentationResultPreview")
1 Like