Python - Editing Feature Size Local Threshold

You don’t need to change the source code of a Segment Editor effect if you just want to change effect parameters from a Python script. Instead, you simply call effect.setParameter method from outside. See complete examples in the script repository: https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_run_segment_editor_effects_from_a_script

2 Likes