Set Structure Size/Name By Largest Pipe Diameter

Continuing the discussion from Generative Design Applications for Civil Workflows:

Yeah, I’d agree this is doable but the tricky part is calling the name/size of the structure you want from the part catalog will be specific to each company. Another approach would be to check the angle between pipes to check the clear manhole wall space is greater than minimum between pipes and let that choose the appropriate manhole size.