Do you include the .gh files in the installer, or do your users download these as a separate step (not clear from your description)?
I’m not sure we have any ‘best practices’ for this, but this is a good opportunity to discuss it. I think @piac distributes some sample files with the Weaverbird plugin. @piac Is that approach something that would work in the short term for @Jack_Minardi?
In the long term, for GH2 and RhinoWIP, we should consider some mechanism to add example files from plugins. In Rhino for example, one could add a file path to the File Explorer:
For GH, we could add an area in the File menu:
I like the way Processing and Arduino IDE have sample files. A library has a folder in the package called “Examples” there devs can add scripts. The addition of this path to the examples menu is done automatically:
@stevebaer @dale @will @DavidRutten Does it make sense to consider some sort of extension to the .rhi system that includes the ability to discover if the RHI has an “Examples” directory, and if so, register it somewhere in the Rhino UI if there is an rhp that exposes some functionality? Same for GH if there is a gha? We would have to consider how devs distributing without an RHI can participate in adding examples for their plugin.