# Loading plugins per button script?

**URL:** <https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682>\
**Category:** Rhino for Windows\
**Created:** [June 13, 2019, 6:00am UTC](https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682 "2019-06-13T06:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micha](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/micha/32/770226_2.png) [@Micha](https://discourse.mcneel.com/u/Micha)\
**Post date:** [June 13, 2019, 6:00am UTC](https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682/1 "2019-06-13T06:00:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jarek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jarek/32/511212_2.png) [@Jarek](https://discourse.mcneel.com/u/Jarek)\
**Post date:** [June 13, 2019, 6:47am UTC](https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682/2 "2019-06-13T06:47:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Micha](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/micha/32/770226_2.png) [@Micha](https://discourse.mcneel.com/u/Micha)\
**Post date:** [June 13, 2019, 7:57am UTC](https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682/3 "2019-06-13T07:57:37Z")

</div>

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? 😉

-Micha

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/a/b/ab8304aa3242d44d78abd32441fa776aba186482.png)

---

<div class="post-metadata">

**Author:** ![Micha](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/micha/32/770226_2.png) [@Micha](https://discourse.mcneel.com/u/Micha)\
**Post date:** [June 13, 2019, 8:39am UTC](https://discourse.mcneel.com/t/loading-plugins-per-button-script/84682/4 "2019-06-13T08:39:50Z")

</div>

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.
