GH Inject value

Is there a way to inject a value as a one-time function?

Here is the setup I’m looking to achieve: Let’s say I can adjust the length of a GH line using a slider, let’s call it “Line_A”. Now let’s say I have another line parallel to it (Line_B) with a length that can only be set by pressing a button. Pressing the button grabs the current length of Line_A and uses it to set the length of Line_B.

To me, this seems simple enough, yet I can’t seem to get this together. Any ideas?

try using Data Dam set to ‘never’.

data will only go through it when you click on it otherwise it holds the previous value

something like: (10.4 KB)

3 posts were split to a new topic: Grasshopper custom curve display