Grasshopper

algorithmic modeling for Rhino

Hi Everyone,

I have several Grasshopper definitions which are mainly Python components

(Honeybee components)

I would like to write some code which will copy these definitions (without opening the Grasshopper file that the definitions are in) into the users current Grasshopper file when they trigger an action.

Much like when you select couple of Grasshopper components and copy them into another document. How would I go about doing this? Could someone please give me some sample code.

Many thanks!

Views: 383

Replies to This Discussion

something like this should work: 

http://www.grasshopper3d.com/profiles/blogs/create-snippets-with-gr...

(the above is now a feature of metahopper but I assume you wanted to see how it's working in code)

Many thanks Andrew, this is what I'm looking for.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service