Automated tags with leader on face of pipe or duct not center

I was wondering if there was a way to have a script that automates tags and puts leader on the face of the pipes or ducts instead of the center, doing it manually by changing the leader position when free end is selected can be quite time consuming. can someone help?

Thank you


You might try the below shot :slight_smile:

(post withdrawn by author, will be automatically deleted in 1 hour unless flagged)

thank you for your reply this was very helpful, However, I was looking for a way to keep the leader, and the leader would point to the face of the pipe/duct. thank you!

Ps: the warning: Null value cannot be cast to double

Can anyone Help ?
Thank you

Hi @jmelkiZH7D4
Try those post:
Pipe Tag Leader line vs Dynamo preview issue