Pipe Tags with Auto Leaders

I believe this recent thread might lead you in the right direction for getting the pipe’s angle and placing a family instance in relation to that.