@robin.thomas11 wrote:
I’m following the following instructions to run Rhino from the command line:
I’m doing this on Windows 7. Specifically, I am opening a set of files in sequence and running a script on them. I figured out this was the correct formatting, and this .bat content works well:
FOR /L %%x IN (1,1,70) DO (
“C:\Program Files\Rhinoceros 6 (64-bit)\System\Rhino.exe” /runscript="-RunPythonScript my_script.py -exit" filename_%%x.3dm
)However, when Rhino exits, my script modifies the file, so the “save changes” dialogue opens. Is there a way to suppress this message (i.e. force either “yes” nor “no”)? Otherwise I have to sit and play whack-a-mole when the dialogue appears.
Thanks!
Posts: 4
Participants: 2