Smoothing Factor from Python

Hello everyone!
I would like to know how to modify the “smoothing factor” (available in the dropdown menu of the “Show3D” button) for a segment of my segmentation node using a Python script, through logic and NOT the widget representation (if needed).
I need this to get a model from segment with perfect smoothing

Thanks for help !

You can find a sample snippet in the script repository:
https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#re-convert-using-a-modified-conversion-parameter

1 Like