Page 1 of 1

C# Script Node Outputs

Posted: 10 May 2014, 08:13
by Poly Kim
hi, all

I'm playing with C# script node, and made a simple functionality "sort".
I can see the result what I expected on script node outputs, i mean the "sorted" result.

My script node can give customized event to the node that is bound to script node output.
But, the result(sorted value) from the script node is not applied to the nodes that are bound to the script node at all.

Am i missing something?
How can I hand over those values to the outside of script value?
Let me have your advice.
thanks

btw, the more I get familiar w/ ventuz, the more i get excited cuz it is sooooo~ excellent~!!!! :D

poly

Re: C# Script Node Outputs

Posted: 12 May 2014, 10:45
by kris rok
most likely you did not set changed = true. also if it happens in response to an event your handler method should return true to trigger validation of the node. then the connected nodes should get the values and revalidate.

Re: C# Script Node Outputs

Posted: 14 May 2014, 02:16
by Poly Kim
I should have searched FAQ.
anyway thanks :)