Limit GH plugin to be loaded only under RiR context

I am writing a GH plugin, which provides some interoperability between GH and Revit. It’s a GHA file.

Is there a recommended way to prevent it from being loaded in sessions except for RiR? Currently, I am thinking of using PriorityLoad and returns noload

Hi,

There are two folders were only Rhino.Inside Revit look for Grasshopper assemblies:

  • %ProgramData%\Grasshopper\Libraries-Inside-Revit-20XX
  • %APPDATA%\Grasshopper\Libraries-Inside-Revit-20XX

Assemblies in the first folder will be available for all users while the second one is a per user folder.

Does it help?

1 Like

Thanks a lot :wink: