Rotate Stirrup Rebar

Hi everyone
I just created script for stirrup rebar beam but not the same location hook
So I want to create script for rotation stirrup rebar = 90 deg
Thank you for your help!

anyone got a solution for this ?