Python - Editing Feature Size Local Threshold

This is the link to everything:

Thank you so much!

1 Like

We figured it out @lassoan!

1 Like

When we use effect.setParameter(“Minimum Threshold”, 265) and then:

print(slicer.mrmlScene.GetFirstNodeByClass(“vtkMRMLSegmentEditorNode”))

It says that the parameter is still set at the default of 115 (Local Threshold.MinimumThreshold:115)

Are we missing a line of code @lassoan?

1 Like

We have figured it out. Thanks!

1 Like

Please always write here what was the solution because it will help others who will find this page when they have a similar question.

The solution is you write effect.setParameter("MinimumThreshold", "265") - no SPACE

1 Like