My issue is that couple of Rhino scripts on our drive got updated (just the code), and now when I run them in one of our old files (-loadscript “script.rvb”), rhino runs the old outdated code that doesn’t exist anywhere on the drive as a file anymore.
Even if I remove all the Search file paths to custom folders where the scripts are located, rhino would just run the script out of thin air.
It feels like the old scripts are embedded in the file and I have no clue how to purge them out.
ResetRhinoScript does not fix it. What does is changing the template file to some other one. That fixes it for the current session. Not sure how those are related, but found it out on accident.
R6 now is plagued by the same issue… It’s mildly infuriating…
Could it be Windows problem? As I said, the code that’s being run doesn’t exist in the folder where all the scripts are ran from… Neither should it exist anywhere else on the disk drive to my knowledge.
Do you have anything in your startup scripts section? Or a custom command that runs on startup that calls a Rhinoscript? Or a plug-in that automatically loads some scripts?
Would you mind looking in Options>Files>SearchPaths and see if there is a path in there leading somewhere else than you expect? Mine looks like this:
The first entry I did not put there myself, so I imagine Rhino added it at some point. In there look like some images from picture frame (which seems odd) but nothing else. The last two I put in there myself.
When GoogleDrive updated, here, to ‘FileStream’, it left the old GoogleDrive folders intact and I did have some goofiness from time to time until I figured that out and removed it. Just a thought…