So I’ve been working on a python script that sets geometry into a grasshopper component using @clement 's great example here:
Now I’m wondering: is there a way to retrieve objects from grasshopper as well by using a python script? So let’s say I set the objects to a geometry component in grasshopper. How can I retrieve afterwards which objects have been linked to that component?
I tried looking here but couldn’t find something which does what I need: https://developer.rhino3d.com/wip/api/grasshopper/html/T_Grasshopper_Plugin_GH_RhinoScriptInterface.htm
There’s a method to bake geometry from a component, but then I’d create objects on top of the objects I already have in Rhino (I think?). I just need the original linked objects.
Anybody a clue or example?