Structural Framing Extents Handles

I’ve been working on a roof and everything works out nicely except that when my framing is added the “Extents Handles” go past my work points. I can manually drag them back but I would like to just add this feature to my Dynamo and set them to origin or 0. Is this possible?

Danny,

This should work.

Fantastic. I will add it to my script. Thank you