> For the complete documentation index, see [llms.txt](https://help.auxalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.auxalia.com/plant-tools/plantspecdriven/how-to-use/use-cases/editing-line-segment-properties-pid/inserting-symbols-pid/understanding-autopipe-pid.md).

# Understanding AutoPipe (P\&ID)

This chapter describes how PlantSpecDriven adds End Connection symbols like flanges after spec parts have been assigned.

To get End Connection symbols like flanges at all, requires a correct setup of [Page 13 - AutoPipe - Flanges](/plant-tools/plantspecdriven/how-to-use/configuration/the-wizard/spec-driven-lines-symbols/page-13-autopipe-flanges.md) in The Wizard of PlantSpecDriven.

In [Test Projects](/plant-tools/plantspecdriven/how-to-use/test-projects.md) AutoPipe reacts if the Inline Asset or Inline Instrument have an End Type of either FL or WF. In the image below we see an example of a ball valve from the metric pipe spec which shows FL as the End Types.

Because of the FL PlantSpecDriven filters the pipe spec for the Part Category **Flanges** with the given size.

![](/files/4D684jTe0VYieFnbYEw3)

If we select the butterfly valve with WF as the End Type...

![](/files/zPhhD3EeCEuR2FG1Av2D)

...we get flanges too.

![](/files/VrlV5uwiaIiKgtsmjHWl)

If we select a part which doesn't have FL or WF (the image shows the use of the imperial Pipe Spec CS150)...

![](/files/fhM1c4bcFppPLWJ4APkx)

...then Pipe Spec data will be assigned to the valve, but no flanges will be inserted.

![](/files/4Wn6GVE7gfawrtqa97Nw)

In case you want to insert flanges manually (see [Page 13 - AutoPipe - Flanges](/plant-tools/plantspecdriven/how-to-use/configuration/the-wizard/spec-driven-lines-symbols/page-13-autopipe-flanges.md), [Flange Class](/plant-tools/plantspecdriven/how-to-use/configuration/pid-classes-symbols/flange-class.md)) you insert a Manual flange. This flange has no gap, because the AutoPipe flanges have the gap.

![](/files/0yAmnAy16jYT9ZguJITL)

If you insert the flange symbol PlantSpecDriven will automatically insert the opposing AutoPipe flange.

![](/files/o1qKCoQ82vae1a0W52Qd)

If we select both flange symbols you see that they have both the same pipe spec data.

![](/files/ZwDAC9wxu4co31SSvjXs)

If the line segment is missing spec or size and you insert a manual flange anyway, then PlantSpecDriven will insert the opposing flange symbols (as defined under [Page 13 - AutoPipe - Flanges](/plant-tools/plantspecdriven/how-to-use/configuration/the-wizard/spec-driven-lines-symbols/page-13-autopipe-flanges.md)) anyway. But of course no pipe spec data will be assigned.

![](/files/qU9Y2IsoOyxLf1iaJ3mx)

The next example uses size 40 for the line segment.

![](/files/CWWWuLRvlCgReGOftmmT)

Now PlantSpecDriven uses lapped flange symbols.

![](/files/cYWx7b7gU1ODlNPsCPlj)

If you use size 50 or 2" in [Test Projects](/plant-tools/plantspecdriven/how-to-use/test-projects.md) you will be offered welding neck or lapped flanges.

![](/files/ugssNi2xdZ01v4AsDht3)

You can select different flanges for each AttachmentPoint/Port. This will later also considered when transitioning into 3D.

![](/files/K7dAfPPP2U05znXvjIGV)

If you use different flanges it looks like this.

![](/files/ZzmCEMQIzvszpXiAYDM8)

If you change the spec or size AutoPipe will check if the selected flanges are available in the new spec/size combination.

![](/files/DMsDrLnGhrNXSZZACAYc)

If not, then PlantSepcDriven will replace them.

![](/files/YlzKYzAoG6O7FdrTrqYk)
