> 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.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-713ab15e57a4702d53d2a3b208b8c844ec6827b8%2FUse-Cases-0125.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-0cc77c572c29393bac322a0d9bf96af7a4343931%2FUse-Cases-0126.png?alt=media)

...we get flanges too.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-a24a30205d12c28cb3ede7685b7ff4deb88662bb%2FUse-Cases-0106.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-77f31ea5a73f5be32e5d1b80a135fdf703c16de6%2FUse-Cases-0128.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-0c9d3886fc7a26e2f06579bd382a3c2d8ced55fe%2FUse-Cases-0129.png?alt=media)

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.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-73079b6eb3ef2cb11356094328e32b9aa40eaa17%2FUse-Cases-0130.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-ce360115a1a4957b1ed201f92bf72639f789c0d0%2FUse-Cases-0131.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-85010773bc70e3f0e95e645a69d75e60f1bb5e05%2FUse-Cases-0132.png?alt=media)

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.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-a934d267c5e6408006e2cdee4882bef10a7a07a3%2FUse-Cases-0133.png?alt=media)

The next example uses size 40 for the line segment.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-92a6cf00f06b9198894dc667594b2a55e9e0fd04%2FUse-Cases-0134.png?alt=media)

Now PlantSpecDriven uses lapped flange symbols.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-e93223963fee77c4d2986245dc973cafbdd15f77%2FUse-Cases-0135.png?alt=media)

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.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-6522b3ac2d1b3e02fafa21d770f8e86fbdd80f9f%2FUse-Cases-0136.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-0c995b9acbc9130d01f55273b7d88bd47eb42eff%2FUse-Cases-0137.png?alt=media)

If you use different flanges it looks like this.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-215def642eee7381d326152a3dc64ff6d3eeef5e%2FUse-Cases-0138.png?alt=media)

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-07d625371efb9e46b8ca4fd2a1ad5ea4027de03c%2FUse-Cases-0139.png?alt=media)

If not, then PlantSepcDriven will replace them.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-bbb7dcf83150f32b161a32486317fb20b66a88e8%2FUse-Cases-0140.png?alt=media)
