Page 1 of 1

How update all ruby input on trig?

Posted: Fri Jun 21, 2013 3:21 pm
by Tronic
how to update the inputs of rubyeditor?
for example:
if you connect something to an input and disconnect it, it retains its value.
then in rubyeditor the value will always be the same until it is re-trig on that input.

even if you send a trig from ruby to the input before requesting the value of the input it will reset the input,
but the value obtained will be prior to trig anyway.

no way inside the ruby to get a refresh of all inputs, before accessing the value of the input?

maybe I missed to understand something?

Re: How update all ruby input on trig?

Posted: Fri Jun 21, 2013 4:23 pm
by MyCo
I ran into the same problem. Right now there is no way to determin if an input is connected at all. So you can't reset on disconnected and you can't set a proper default value if an input is not connected (beside the internal defaults).