Many thanks for your support.
The program did constructed the stirrup, but we wanted stirrup with 135 degree hooks.
We were able to apply 135 degree hooks but the rebar style was Standard. Whenever, we tried to apply the hooks to the stirrup style we faced an error, "hook id is not valid"( if rebarshapeId is applied) or "internal error" (while using createfromcurves method)
Can you please help?
Once again thanks for your time.