Can GH definitions (.gh) be made searchable?

Hi Rolf, see this solution Get Grasshopper Document Object Count without opening grasshopper
GH_IO.dll let’s you read the .gh and .ghx file format. Starting with the example @DavidRutten made for me recently, I imagine it wouldn’t be much work to make a small program that extracts the code associated with each C# or python script component across your entire ouvre of definitions.
You could then save all this as plaintext and search however you please. Nowhere near a computer so can’t help specifically right now.

1 Like