More questions:
1. The doc states "When you create an input parameter, a variable is created and associated with it. You can then reuse this variable in any function of you graph"
I'm get the impression those can only be read by the graph and that I can't set input parameters using a set node. Is that correct?
2. What's the life of a variable? Or how do I reset a variable at the beginning of a process?
For example, I would like to have a variable called "startProcessing". When True, I do the processing. However, I need to reset it at some point. If I was coding I'd do something like:
def ProcessGraph():
startProcessing= False
#pixel process
for pixel in image:
if sample(pos) == targetColor:
startProcessing= True
if startProcessing:
#DoSomeStuff
In the above example I'm resetting startProcessing before sampling the image. Not sure how to do this in designer.