I am not quite sure I understand your question. But I think the sample does as you suggest:
The sample includes:
1.) The source to a Grasshopper component2.) The source to a Rhino plug-in3.) The source to a geometry library that is shared…"
would it make more sense perhaps if I also supported RHP files in addition to GHA files? I'm not quite sure how the loading would work but it might simplify plugin projects that aim to provide both Rhino commands and Grasshopper…"
Hi All,I've posted a new Grasshopper component source code sample on my GitHub site:https://github.com/dalefugier/PlatonicsThe sample demonstrates how to share a RhinoCommon-dependent assembly between a RhinoCommon plug-in and a custom Grasshopper component.Enjoy! -- DaleSee More