I would like to be able to launch slicer via command line (from python) and have it automatically load and display a specified nrrd file. Is this possible? I searched some of the documentation but I couldn’t quite find what I wanted.
See these examples:
https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Launching_Slicer
Say you have Slicer.exe in "C:\Program Files\Slicer 4.7.0-2017-07-29\Slicer.exe"
and you have a Nrrd file in “C:\CTACardio.nrrd”
You would run this in Command Prompt:
“C:\Program Files\Slicer 4.7.0-2017-07-29\Slicer.exe” “C:\CTACardio.nrrd”
Thank you both. This solves my problem!