Hello
Can anyone help me with RoboDk. I want to call programs regarding Input 1 and input 2. I cannot find the if else commands in robodk.
Could someone send me an example :
IF Input1=True
Call program 1
Else
Call program 2
Hello
Can anyone help me with RoboDk. I want to call programs regarding Input 1 and input 2. I cannot find the if else commands in robodk.
Could someone send me an example :
IF Input1=True
Call program 1
Else
Call program 2
if input1 = True:
program1()
else:
program2()
I get this error
You should indeed use the "==" as it's written in Python.
Jeremy
for python Code post #4 is the correct one
So that you guys know, we are currently working on a way to add "While" loop and "If" statement directly in the UI.
I'm currently testing it out and it's very promising.
Jeremy
So that you guys know, we are currently working on a way to add "While" loop and "If" statement directly in the UI.
nice to hear
If you download the latest version of RoboDK, you will have access to "If" and "While" statements.
I attached an example RDK station.
We tested it internally, but feel free to report any issue you could find.
We did not announce that feature publically.
is this is for everyone or just the persons who paid for it?
I think everyone has access.
You need to be a member in order to leave a comment