Loading plugins per button script?

Hi,

is it possible at Rhino 6 to load a plugin per button script only if it is needed? I have some render plugins like Enscape or Octane I want to start very seldom only.
I want to keep not needed plugins unloaded to avoid long Rhino start times and conflicts between plugins.

I have seen that I can load a plugin at the plugin manager without to enable it for permanent startup load. So, my hope is it can be done per script too.

Ciao,
Micha

hi Micha, looks like the plugin loading is possible via command line -_Options _Plugins _Load “[plugin path goes here]” _Enter
so you should be able to make a macro in a button to load the plugins…

–jarek

Hi Jarek,

thank you for pointing me in the right direction. I found I need to add _FileName for the path, but now I have the problem that the space in “Program Files” cause a wrong read file path.

-_Options _Plugins _Load _FileName “C:\Program Files\Enscape\Bin64\Enscape.Rhino6.Plugin.dll” _Enter

Also I tried the plugin ID way, but the GUID ID doesn’t work, it seems to be an other number.

Do you have one more idea? :wink:

-Micha

image

Strange, after some tests it works. Maybe there was a wrong sign.

-_Options _Plugins _Load _FileName “C:\Program Files\Enscape\Bin64\Enscape.Rhino6.Plugin.dll” _Enter

Thank you Jarek.

1 Like