Script Runs at Startup


#1

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!


#2

Is it by any chance listed in Options>Rhinoscript?

–Mitch


#3

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


#4

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

–Mitch


(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.

-Pascal