Hi. I’m working on a project to model rebar using dynamo.
The code block shown in the picture is designed to return the coordinates of vertical roots using each column’s structural type, height, length, and width as arguments.
What I wanted was to return 16 coordinates for each of the two columns, 5 (defined in the dictionary), 500 in width, 800 in width, and 5750 in height.
If I gave (Type 1, height 500, width 500, depth 500) then code block must return 16 item for type 1.
I don’t know how the algorithm works, but (I think it returns the result value in each case) it has 96.
I don’t know what to do to solve this.
I need your help.