top of page

How to Handle P21 in Civil Engineering CAD? 6 Causes and Remedies for Files That Won't Open

By LRTK Team (Lefixea Inc.)

All-in-One Surveying Device: LRTK Phone
text explanation of LRTK Phone

When you receive drawings in civil engineering CAD and the file extension is P21, work can suddenly come to a halt. It’s hard to immediately tell whether the file itself is corrupted, whether the environment you’re using isn’t compatible, or whether shapes and text were distorted during conversion, and that uncertainty is what makes P21 troublesome for both the field and the office. P21 is one of the SXF formats used for exchanging 2D drawings, positioned as a common interchange format to make drawings easier to distribute across different environments. For that reason, you need to handle it with an awareness not just of whether it opens, but whether it displays correctly and can be reused as a drawing.


What causes practical problems is that P21 is not a “proprietary native format” but an “exchange format.” Even if everyday drafting is done in a different internal format, P21 is sometimes required when handing off or delivering drawings, and at that moment conversion quirks and display differences surface for the first time. Moreover, “won’t open” can mean not only completely unreadable files but also states like appearing blank, only text being garbled, scales being wrong, or layer separation not matching expectations—situations where the file opens but is unusable. From a field perspective, all of these are effectively the same as “won’t open.”


This article organizes the basics you should know when handling P21 in civil engineering CAD and explains six causes why files won’t open. It also summarizes a practical workflow for handling files stably from upstream to downstream so you don’t repeatedly reconvert received files as a quick fix. For personnel who repeatedly stumble over P21, it’s more important to develop the perspective of isolating where problems originate than to chase individual troubleshooting steps.


Table of contents

• What P21 is

• Situations in civil engineering CAD where P21 tends to cause problems

• Cause 1 for not opening: the compatible environment is not in place

• Cause 2 for not opening: native data and delivery formats are mixed

• Cause 3 for not opening: layers or drawing conditions deviate from standards

• Cause 4 for not opening: problems with text or symbols

• Cause 5 for not opening: issues with drawing elements or line widths

• Cause 6 for not opening: insufficient verification procedures

• Practical workflow for handling P21 stably

• Summary


What P21 is

P21 is one of the physical file formats of the SXF format. SXF includes P21 and SFC; P21 is organized as an exchange format compliant with international standards, while SFC is arranged as a simplified domestic exchange format. P21 becomes a topic in civil engineering because it helps avoid locking drawings into a specific drafting environment and makes it easier for the recipient’s environment to view and reuse them. In other words, P21 is a “bridge to make drawings appear the same across environments,” and its role differs from that of the everyday native drafting data. If you don’t understand this difference, you may treat P21 with the same mindset as native data and be lax about post-conversion checks.


P21 is important not only for drawing exchange but also for downstream viewing, review, revision instructions, and archiving. Public documentation even states that electronic delivery CAD data should, in principle, be in SXF P21 format, and it presumes that drawing contents will be checked in a common viewing environment. In short, P21 is not simply “the extension you save at the end”; it is the handover foundation for sharing drawing quality with others. Therefore, to reduce problems with files that won’t open, you need to standardize not only save formats but also drawing practices and verification procedures.


Situations in civil engineering CAD where P21 tends to cause problems

In civil engineering CAD practice, P21 problems tend to surface when handing design drawings to construction, compiling coordination or as-built drawings, or trying to reuse past drawings. Even if native data looks fine in everyday use, converting to P21 right before delivery can suddenly expose differences in lines, text, title blocks, scales, and layer structures. At that stage deadlines are often close and the number of sheets is large, so reworking each sheet is a major burden. As a result, people easily conclude “P21 is hard to handle,” but often the real cause is not P21 itself but the timing of switching to P21 and delayed checking.


Be especially cautious about operating where upstream exchanges remain in non-P21 formats and only the final delivery is converted to P21. Public documentation advises avoiding workflows that keep order drawings or as-built drawings in non-P21 formats during the process and only convert to P21 at the end. That’s because differences accumulated upstream remain hidden until the final conversion, and inconsistencies are discovered just before delivery. From a practitioner’s viewpoint, P21 issues are closer to “accidents caused by not checking along the way” than “accidents that happen the moment you receive the file.”


Cause 1 for not opening: the compatible environment is not in place

The first cause is simply that the environment to handle P21 is not in place. Although P21 is a common exchange format, that doesn’t mean every CAD or viewer will handle it the same way. Public documentation treats SXF-compatible software input/output as an objective verification subject, and other documents indicate that after the discontinued provision of a dedicated viewer, operations require display, printing, and visual confirmation using verified SXF-compatible software. In practice, you must not assume “anyone can open P21”; instead, first confirm whether your environment can correctly handle P21.


A commonly overlooked point is that being able to view a file and being able to edit it are different. Even if the recipient’s environment can display P21 with no problem, unintended conversions can occur during editing or re-saving. Also, older environments may produce error logs or even freeze under extreme conditions with otherwise valid P21 files. Practically, what both sender and receiver should align on is not the same product name but environments and verification procedures that are similarly equipped to handle P21. If you feel a file won’t open, start by reassessing whether your own environment is sufficiently compatible before doubting the file itself.


Cause 2 for not opening: native data and delivery formats are mixed

The second cause is that native data and delivery formats are mixed. In civil CAD, for convenience the native data is often managed in each environment’s internal format, and P21 is only output at the end. That operational choice isn’t inherently wrong, but converting only at the final stage without interim checks is risky. Public guidance also recommends avoiding workflows that use non-P21 CAD data as the main operational format for order drawings or as-built drawings and only align to P21 at the final stage. Differences built up upstream can all erupt at the final conversion.


For example, annotations that looked fine in the native data may become garbled in P21; proprietary graphical expressions may be simplified and look different; layer semantics may not be reproduced at the recipient’s side. These kinds of problems are less about a final-save mistake and more about having drafted on the assumption that the native expressions could be reproduced in P21. To handle P21 stably, check under P21-like conditions from intermediate milestones, not just before delivery, to reduce divergence between native data and the delivery format. Rather than repeatedly converting at every handoff, adopt an early verification attitude of “Will this drawing still be valid if it’s converted to P21?” to reduce rework.


Cause 3 for not opening: layers or drawing conditions deviate from standards

The third cause is that layers or drawing conditions have deviated from standards. In practice people tend to relax once the file opens, but with P21 “displayable” and “constituting a valid drawing” are separate issues. Visual check items in public documentation include not only data loss and garbled text but also drawing on appropriate layers, consistency with the paper drawing, drawing size, orientation, margins of the outline, title block, and scale. In other words, what you should truly check in P21 is whether drawing validity conditions are preserved, not just whether the file loaded.


For instance, cases where the drawing looks blank may actually be caused by orientation, scale, or display range shifts even though data exists. Or necessary shapes may become hard to see or responsibility divisions may be lost because layers aren’t properly organized. Title block or margin collapse may seem minor, but they directly affect readability and reliability during printing and review. Before judging a received P21 as “won’t open,” first check whether the drawing’s preconditions are maintained. In many cases the problem is not file corruption but deterioration of drawing conditions.


Cause 4 for not opening: problems with text or symbols

The fourth cause is how text and symbols are handled. If you draft without considering which characters P21 supports, text is likely to break on the recipient’s side. Public documentation outlines character usage considerations for drawing files and explicitly lists character groups that need attention, such as machine-dependent characters, enclosed characters, some Roman numerals, and half-width katakana. These characters may appear fine to the creator but can be interpreted as different codes, substituted, or dropped by the recipient, resulting in impressions of “P21 won’t open” or “text is unreadable.”


Additionally, published bug information indicates an error message where strings longer than 256 bytes are truncated to 256 bytes. Long annotations, explanatory texts pasted from external documents, or strings containing complex symbols are prone to this kind of issue. In practice, simple measures work well: split long annotations into shorter ones, avoid heavy use of special symbols, and avoid characters whose compatibility is uncertain even if they look similar. When P21 text becomes scrambled, the drawing’s overall reliability rapidly declines, so text should be treated even more carefully than lines or shapes.


Cause 5 for not opening: issues with drawing elements or line widths

The fifth cause is that certain drawing elements or line width conditions cause malfunctions. Published trouble cases show that hatching, clothoids, leader lines placed on the paper area, and 256-byte strings can output error logs even when opening otherwise valid P21 files. Additionally, including shapes with extremely thin line widths has been reported to cause freezing or disappearance of geometry in environments using older shared libraries. Important here is not to immediately assume file corruption just because an error is shown. Implementation or version differences in the environment may cause warning-like behavior even for valid P21 files.


In practice, visual embellishments such as curve representations, fills, leader lines, or extreme line widths—intended to improve appearance—can become instability factors during exchange. Therefore, for drawings intended for P21 exchange, avoid making expressions more complex than necessary. If symptoms like “won’t open,” sluggish performance, or missing display occur, suspect problematic geometry and create a simplified version of the drawing to isolate the cause. For P21 compatibility, plain, reliably conveyed drafting is stronger than flashy expressions.


Cause 6 for not opening: insufficient verification procedures

The sixth cause is insufficient verification procedures. P21 troubles often grow less from drafting itself than from missing checks. Public documentation shows that after creating deliverables you should conduct visual inspections and then perform rule-based checks. Verification items include data loss, garbled text, appropriate layering, consistency with paper drawings, drawing size, orientation, margins, title block, and scale. In short, saving to P21 is not the end; completion includes post-save verification.


When these checks are insufficient, typical accidents occur in which what was visible on the creator’s screen collapses at the recipient’s side. Particularly risky is being satisfied with opening native data for confirmation and not viewing the actual converted P21 in another environment. If you are delivering in P21, the object to verify is the P21, not the native data. Also, a single person opening it once is not enough; at a minimum you should check print-oriented appearance, full-display orientation, character legibility at magnification, and whether the main layers’ content is preserved. Skipping verification to save time creates many times the rework downstream. Stable P21 operation depends more on verification habits than on drafting skill.


Practical workflow for handling P21 stably

To handle P21 stably, start by deciding at the beginning of the project when P21 will be used. Whether you make only the final delivery in P21 or align interim handoffs to P21 greatly affects operational load. If you know P21 will be required at delivery, don’t wait until the end to convert; instead, perform test outputs in P21 from intermediate stages and confirm the recipient can read them as you proceed. This early exposure surfaces typical collapses in text, lines, layers, title blocks, and scale. Public guidance also advises against continuing to use non-P21 formats upstream and only aligning to P21 at the end, and this approach is highly practical.


Next, standardize drafting rules with P21 in mind. Specifically, prioritize character compatibility when choosing fonts, avoid unnecessarily long annotations, don’t overcomplicate graphical expressions, don’t use extremely thin line widths, and fix layer structures and scale handling early. Drawings that cause P21 problems usually contain “representations convenient in the native environment but weak for exchange.” Therefore, prioritize expressions that don’t collapse after exchange rather than polishing the drawing to suit the flexible native environment; this will reduce correction workload. In practice, drawings that withstand handoff are stronger than intricate drawings.


Also, when troubles occur, divide the cause into three areas—“native data,” “conversion process,” and “loading environment”—to speed up response. If the native data is at fault, fix how text, shapes, or layers are created. If the conversion is at fault, create a simplified version with the same content to see which element fails. If the loading environment is at fault, open and compare in another verified environment. Confusing these leads receivers to suspect file corruption and senders to blame the recipient’s environment, stalling progress. What matters in P21 operations is not finding who is at fault but quickly identifying at which stage the difference occurred. A habit of comparing before-and-after conversion and predetermined cross-environment verification steps is very effective.


Finally, it’s safer not to let the creator alone complete the pre-delivery checks. Collapses that the creator overlooks through familiarity may be obvious to another staff member. P21 verification is not a simple file open test; it is a check that the recipient can use the drawing without hesitation. Therefore perform full-display checks, magnified display, print image checks of main sheets, text legibility, sense of scale, and layer content checks to determine whether the drawing is valid. This one extra step greatly reduces inquiries like “won’t open,” “looks different,” or “can’t use.”


Summary

What’s important when handling P21 in civil engineering CAD is not to treat P21 as merely a file extension. P21 is a format for safely handing drawings to other environments, and causes for files that won’t open are a combination of factors such as compatible environments, timing of operations, layers and scales, text, graphical expressions, and insufficient verification. Therefore there is no single remedy. By properly isolating causes and shifting operations upstream to be P21-aware, you can significantly reduce troubles. Rather than panicking after receiving a file, the most reliable approach is to design drawings from the start with handoff in mind.


Also, if your goal is not merely to open a drawing but to use it correctly on site, make the coordinate–drawing linkage easy to handle for field personnel. For example, when you want to make drawing checks, stakeout, and verification against actual conditions smoother, combining an iPhone-mounted high-precision GNSS positioning device such as LRTK can make it easier to connect office-prepared drawing information with field position information. Building a system that doesn’t stop at P21 handoff and a system that can be used on site without confusion are actually extensions of the same practical improvement.


Next Steps:
Explore LRTK Products & Workflows

LRTK helps professionals capture absolute coordinates, create georeferenced point clouds, and streamline surveying and construction workflows. Explore the products below, or contact us for a demo, pricing, or implementation support.

LRTK supercharges field accuracy and efficiency

​

The LRTK series delivers high-precision GNSS positioning for construction, civil engineering, and surveying, enabling significant reductions in work time and major gains in productivity. It makes it easy to handle everything from design surveys and point-cloud scanning to AR, 3D construction, as-built management, and infrastructure inspection.

bottom of page