Modell text family orientation

Hello,
I have been working on a dynamo script that places an modeltext tag on Surface of walls in 3D view. (See Picture below)
My Question is how can i adjust Modell text orientation according to orienation of walls, Family instance by face node with reference direction as a Input Looks promising but unfortunately didn’t worked out for me.

Any suggestions?


Tag Element.dyn (144.8 KB)
3D text model family.rfa (324 KB)

You can try something like this, selecting the faces you want, but you need to edit your family and check “WorkPlaneBased”

2 Likes