Rebar being set normal to plane

Hi All. I have my rebar set which I need to set the layout in this direction.

However when I run the script this funky stuff happens. It makes it perpendicular to the plane. Anyone know how to fix?


Amigo @technitutors
You must check your script you are rotating in the wrong axe, place the rotation point in the center and rotate in the perpendicular axe, the right hand curl rule can hepl you to understand the concept!!

its not supposed to rotate anything. There is nothing Im saying in the script telling it to rotate. Even so, how would you rotate it back about the z plane?

Can you share the screen shot of your dynamo script, or share the dynamo script to try to understand better where the issue is please??