loop node example [message #1780838] |
Mon, 29 January 2018 07:25 |
Pietro Boido Messages: 1 Registered: January 2018 |
Junior Member |
|
|
Hi Papyrus users,
I am trying to use a loop node to count down from i to 0 and print the counter at each iteration.
I am not able to make it work, when I add variables. I cannot figure out how to connect the loop variable output pin to the test part and body part input pins. There seems to be no place where I can drop the variable input/output pins, nor the loop result pin.
Also I tried adding a setup part, but it won't execute.
This is my current loop node:
These are the properties:
In this state, moka won't execute the node, but no exception is thrown.
If I remove the Body output, Loop variable, Loop variable input and Result from the properties, then the loop will be executed and 9 will be printed at each iteration, until I terminate the simulation.
It would be great if you could post a complete loop node example.
Thanks,
Pietro
|
|
|
Re: loop node example [message #1781299 is a reply to message #1780838] |
Mon, 05 February 2018 20:01 |
|
Hi
I'm in the same boat, so not likely to be very helpful.
But I'm a little confused by your diagram, I would be expecting something more like this...
I've searched the documentation to no avail ;-(
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds