Im trying to iterate though this list I have created, however it only returns a single value. Theres something wrong with the iteration but dont know what
Hi @technitutors ,
You almost never need to use the LoopWhile node in Dynamo, what are you trying to achieve?
You would have to use a For loop in your Python script.
See something like this, or search for “For Loop”:
Hi,
Since @Daan linked to my post I thought I’d chip in.
I can’t test this right now, but it looks pretty straight forward.
Something like this:
for x in rebar:
x.SetPresentationMode(myview, RebarPresentationMode.Middle)
output.append(x)
OUT = output
I dont think the output here is really needed, as it will just return the rebar elements. Could probably do something smarter ![]()




