Is there any python script recorder in 3D slicer?

Hi all,

I am still learning how to use Python console to automatically process my data. I would like to ask if there is any script recorder stuff in 3D slicer, I mean I can click the button firstly, and then it shows the corresponding python scripts so that I can dig into that and revise.
I know there are a lot of examples but still feel it is a bit difficult for me.

Best regards,
Chuan

There’s nothing automatic, but these methods work:

https://slicer.readthedocs.io/en/latest/developer_guide/python_faq.html#how-to-find-a-python-function-for-any-slicer-features

2 Likes

Thanks Pieper, that also helps a lot.