How to rotate elevation tag

Hi all,
How to rotate Elevation tag by Dynamo script perpendicular to wall face.
In this case I create Elevation Tag by Dynamo script (automation).

Thank You
Much appreciates .

you need to edit the family and you can set parameter for rotation or alignment. then using that parameter you can adjust in dynamo.