Dynamo script looping

Hi,

I trying to offset each line separately, ( reason being I have to add another functions later with each offset). I could not seem to get the result, can anyone please point out what am I doing wrong in loop ?

Nothing is added to result, it was declared an empty list not the outcome of the for loop.

1 Like

Found out the mistake. Thanks for pointing out :slight_smile:
I was treating DynamoScript like Python. Additional brackets had me confused.
quick question, any idea what does [ imperative] implies ? we dont use that in python loop

1 Like