plumbing fixture with pipe connector

Dear all 

can we get any guidance to create a plumbing fixture with pipe connector parametric information etc.. like mentioned below 

thanks