Python scripts preload

Hi there,

I have noticed that Python scripts are always slower at the first run. I think, they are loading first and for the second run they are running instantly. Is there a way that helps to preload all scripts first when Rhino starts, to let all scripts running smooth at the first run?

Hello,

It’s mainly the time taken to start the Ironpython interpreter. You can put something like runpythonscript pass in your startup scripts and then it should go much quicker

Thanks, I will try…

To complete this, this should work, under options -> General -> List of commands on startup :
! -_RunPythonScript "pass"

2 Likes

Since which Rhinoceros version this should yield a speedup? I haven’t noticed it in v 5

v5, v6