Automate Stirrup is getting hook in all tips

Guys, I’m trying to automate the way to set stirrup using dynamo.

I’m having difficulties in how to do the hook, because as a stirrup has 4 curves, the hook is setting in all tips.

can you post the whole dyn ?

it looks that each curve (4 that form the stirrup) is set a Hook in its tips, but actually i need just one coner has hooks.

Not sure, but I will try create them with curves and shape not only curves. This should help Revit to not create new free forms