Most AI applied to engineering drawings treats the sheet as an image problem. Find the symbols, classify the symbols, count them. Our CTO puts the failure of that approach in one line: computer vision can find a symbol on a drawing if you have paid someone to draw a box around ten thousand examples of that symbol first. That is memorization with extra steps, and it breaks the moment a client uses a symbol library the model was never shown, or a drafter draws a reducer slightly differently than the training set expected.

I run TheTakeoff.AI, an AI takeoff engine for industrial contractors, and the drawings we work on are piping and instrumentation diagrams, or P&IDs. The lesson generalizes to any document AI built on technical drawings, so it is worth writing down.

What a P&ID actually encodes

A P&ID has no scale. It is a schematic, so there is no length to measure off the page. The information lives in conventions instead of geometry.

A line number encodes three things at once: the pipe size, the spec, and the service. A flag on a valve symbol means something different depending on which corner of the symbol it sits in. A continuation bubble on sheet 12 has to reconcile with the matching bubble on sheet 31, or the takeoff is wrong before it starts. A valve is a symbol plus a tag, the tag points to a schedule, and the schedule may be a separate PDF that arrived in a different email.

A floor plan has rooms, doors and repeated fixtures, which is why generic floor-plan AI works well on it. A P&ID is closer to a language. Every element carries meaning by position, by tag and by relationship to a document elsewhere in the package, and a reader that has not learned the grammar produces confident nonsense.

Estimators already solved extraction

The part that surprised us is that the domain experts solved this decades before AI arrived, and their method is not counting at all.

A senior estimator pricing an industrial package does not count every symbol. They itemize the high-value things, meaning valves, equipment and specialty items, directly off the line list and the schedules. Then they factor the bulk things, meaning fittings, welds, supports, bolts and gaskets, from line length multiplied by spec, using density ratios that come from published standards and as-built history. ASME B16.5 and B31.3 encode relationships that hold across every package that uses them: flange counts follow pressure class, gasket counts follow joint counts, stud counts follow flange pairs.

Our takeoff-hours study, a poll of 661 estimators completed in November 2026, puts the hand takeoff at 25.5 hours on a typical industrial bid worth $1M to $5M, and piping and mechanical runs longest at 28.2 hours because one pipe is described across three documents that have to be reconciled before anything is priced. The reconciliation, not the counting, is the real work.

So the engine we built sources each quantity the way the estimator does, through an extraction waterfall: 3D model exports first, then structured tables like line lists and iso BOM tables, then scaled drawings with parametric rules, and computer vision only as the residual for the symbol that appears in no schedule.

Why the detector fails on 40,000 fittings

The failure mode of detect-then-count is compounding. A piping package can carry 40,000 fittings. A detector at 98% per-symbol accuracy misses 800 of them, and the miss lands directly in the bill of materials. The estimator's factored ratio for the same class of line is often closer, because it came from thousands of similar lines actually built.

That is the industry context for accuracy claims too. The research we published on the AI takeoff accuracy problem found the leading tools reporting 95 to 99% accuracy on clean, vector-based plan sets, with 1 to 5% error rates on those same clean sets, and 8 to 12% error rates still common on complex sets with dense annotations. On a 300-sheet package, a 10% error is 30 sheets' worth of counts that are wrong somewhere, with nothing on the output saying which 30.

The architecture we landed on

None of it is one model doing everything. It is closer to a piping department than a piece of software: hundreds of specialized agents in parallel, each responsible for a narrow piece of what a human estimator does by instinct. One finds lines, one resolves continuations, one classifies fittings, one cross-checks a schedule against the drawing it came from.

And the one non-negotiable is traceability. Every quantity has to open the exact symbol on the exact sheet it came from, with the rule behind any derived number visible. An estimator's name goes on the bid, so a black box count never enters that workflow no matter how accurate it claims to be. Our engine is trained on more than 1 million drawing sets, returns quantities with 95% accuracy, and lets the estimator click any number back to its sheet. The judgment stays with the person.

The general lesson for document AI: before training a detector, spend a week with the people who do the task by hand. Their shortcuts encode the actual information structure of the documents. On engineering drawings, the answer usually already exists in a table somewhere, and the right engineering move is to go get it from there.

The takeoff-hours study and the AI takeoff accuracy research are both published in full, with every source stated.