Reading panel information out of grasshopper into Rhino pythonscript

unhandled

(Wade Vollink) #1

Hello All!

I have been working on automating Rhino so that it can be the back-end 3D modeling software for a exhibition that allows users to input contour sections through an external UI and create 3D prints related to the previous users input and print the interpolated geometry in real time.

without getting into way to the details, is there a way to recall data from a grasshopper component for comparison in rhino pythonscript?

the simplified code I am trying to write is

for k in range (0,101):
   gh.SetSliderValue( guid, k)
   areak = **gh.componentvalue**
       if k is 0:
               smallestarea = areak
       else:
               if smallestarea is > areak:
                       smallestarea = areak