Python - Editing Feature Size Local Threshold

This is the link to everything:

Thank you so much!

We figured it out @lassoan!

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?

We have figured it out. Thanks!

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