Report Dia inch for tee on zone

Hi guru

As the title topic, I need a small macro to calculate the total dia inch of tee for zone. So can any one help me?

the total dia inch for one tee equals 2*p1bore+p3bore