Grasshopper

algorithmic modeling for Rhino

Hi all,

 

Is there a way to script the creation of GH objects into the GH window.

 

Basic example, if I wanted to run a script that creates 3 sliders which connect to a points x, y, z inputs.

 

Thanks,

 

Ben

Views: 346

Replies to This Discussion

Hi Ben,

 

this is possible. But triggering the script will be tricky. If you want to add an object to the Tabs, or the menu, then you'll need to compile a gha library. Have you considered saving your 3-sliders+point setup as a ghx file and just dragging it into the canvas? There are 5 different options when dragging grasshopper files onto the canvas, you want to press the "I" key while dragging the file in or drag the cursor over the insert icon:

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks David for the quick reply.

No problem. I have just noticed User Objects which are great! I will look into a combination of clusters / user objects and saving out mini grasshopper files for the time being.

 

Cheers,

 

Ben

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service