This is a simple example of a mechanism something like a callback to monitor user input... Sometimes, I would like to disable slow/time-consuming portions of my definition while tweaking parameters. I know this can be done manually. This small def shows one way of doing it somewhat automatically... at least for a graphmapper. I would love to see how others handle something like this.
http://www.jonahhawk.com/2012/04/grasshopper-parameter-change-test-...
Hannes Löschke
Just my 2ct:
I personally hate "intelligent" programs. Most likely the intelligent behavior is disabling the exact component you want to observe.
I prefer building the definition with light geometry to the very last moment. You'll have more fun adjusting parameters and probably will end up with an overall lighter definition.
Apr 10, 2012
David Rutten
Here's some ideas that might be interesting:
I have to say I love your solution, very clever. But I can see how it's annoying if you have to add something like this to every definition you make.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Apr 10, 2012
Andrew Heumann
Jonah - this is really clever. Would be awesome to find a way to adapt it to work with any input object, rather than just the graph mapper. I tried myself but didn't get anywhere.
David - I especially like #2 and #4. #1 doesn't seem to do a whole lot that simply disabling an upstream component wouldn't, and #3 would be a pain for sloppy users like me who aren't so careful about the left-to-right thing.
I like Hannes's suggestion of a timed lock, which only passes the data fed into it when it's not changing (within some specified time interval). This would allow precisely the kind of functionality Jonah's solution enables, but without the complexity or dependence on the graph mapper.
Apr 10, 2012