Reference input values between different GHPython components

Is it possible to use a value that is an input in one component in another component? To elaborate, imagine a GHPython component, with a curve, and a number slider as inputs. Now in the same document, I have another GHPython component, that requires both the curve and the number as inputs. Is it possible to reference those inputs in the new component without manually connecting them to this new component?

Hi Apoorv,

It is possible using sticky dictionary. You can send anything to it, then call it from another ghpython component.

Please attach your .gh files (an example of what you are trying to achieve) for future replies or new topics.

Check the attached file. (7.1 KB)