Script Runs at Startup


I have a script (Thomas Ags’ GearGen script) that runs every time I open a V5 file. Is there anything I can do to stop this?
There’s nothing listed in the ‘Run these commands every time Rhino starts’ box. Btw, I want to keep the script installed as it’s great!


Is it by any chance listed in Options>Rhinoscript?



Yes. There are several others listed too, but none of those run on start up.


OK, if you remove it from the list, does it still run at startup?


(Pascal Golay) #5

Hi Matt- if you edit the script and remove or comment (put a ’ in front) the line marked below

Option Explicit
GearGen <<<<<< This line
Sub GearGen ()

Etc etc

the script will not run at startup, but it will also not run with LoadScript, you’ll need to use Runscript.