In this example I want the sect parameter node to pass the value one by one and wait each time the graph completes to pass the second value .
here I want to export t all images for different heights of ceiling …! is this an list problem plz assist me on this…
One thing I don’t understand is even in the image you shared the watch node has a list of all the items, where as what i am looking for is to pass one item at a time,also I find it really difficult to understand the function nodes(may be i can if you could share some more examples),I would prefer a loop code in python but that also gives me results as a list.! any help…?
So I think what you’re saying is you want the whole graph to run on the first item before starting on the second item. This isn’t really how graphs work. They run one node at a time (generally). However, you could simply wrap your graph in a custom node and you should be able to get the functionality you’re looking for - the graph will run the entire custom node one item at a time.
you mean to create a node with python that can do this? I tried with python while loop as well but, was struck in the middle not knowing the syntax to ask python to process items one by one.
Hi, I am sorry, still wondering how to add this functionality(passing one by one) in custom node…! you have an example that I can refer to.I hope that would be very helpful. I am bit week at making custom nodes.
Nodes execute one at a time. So by wrapping everything in a custom node each item in a list will be executed one at a time, regardless of how many nodes are inside. The node acts as a single function at that point.
Here’s what I had to do to get it to work. If you’re running each item separately you’ll also need to specify a file path separately, otherwise the node will just keep overwriting the same file. I also had to break the process into two transactions to make sure the parameter was being set before the image was being created.