Copy and reverse lintel

Hi guys

I need to know how does one write a script to copy and reverse lintels like below?
Selection must be multiple lintels

Is that a family? If yes, you can add flip control to family and then use Python to flip it. I had created that here:

anyway I can place this in dynamo format? Issue is our BIM guy draws these lintels and needs to select specific ones. Not all of them need to be selected and flipped. Currently I have our script below and need this problem solved to finish it

not too sure how to use it

I don’t see the graph very well. Can you take a better screenshot?

thats all I have when I open yours