Startup commands in scheme?


#1

Good afternoon,

Just wondering if something changed recently with startup commands in the registry? I have a startup_commands registry string in:

HKEY_CURRENT_USER\Software\McNeel\Rhinoceros\6.0\Scheme: MyScheme\Options\GeneralSettings

that does not seem to work anymore on the most recent update (6.5.18149.14421, 5/29/2018). Is there a new method of setting up a startup command for a scheme in Rhino 6? It was working just a few days ago.

Thanks,


(Dale Fugier) #2

Hi @AndrewZ,

Rhino 6 does not store settings and preferences in the Windows Registry. Rather, it saves them to XML files.

%APPDATA%\McNeel\Rhinoceros\6.0\settings

– Dale


(Kelvin Cheng) #3

RH-46475 Help: Description of the Scheme parameter is out of date

Created this YT issue for updating the help topic.
http://docs.mcneel.com/rhino/6/help/en-us/index.htm#information/startingrhino.htm


(Kelvin Cheng) #4

No, only the location for saving the data is changed.

image


#5

Thanks for clarifying that @KelvinC. I am working on migrating a project from Rhino 5 to Rhino 6, and in my Rhino 5 project I used that startup_commands reg key to run a command automatically when starting Rhino with my scheme. How would you recommend achieving the same result in Rhino 6?


(Dale Fugier) #6

Hi @AndrewZ,

Of course, the easiest way is to just copy-paste the startup command (Tools > Options > General) between Rhino 5 and Rhino 6. If you’re trying automate this, then you’ll need to edit the setting XML file yourself.

– Dale


(Kelvin Cheng) #7

OptionsExport in v5 and OptionsImport in v6 also work for the common settings in the two versions.