AutoCAD • Annotation and Documentation

Wipeouts — Use wipeouts to mask underlying objects for clarity

Master the wipeout object to selectively hide geometry and produce clean, readable technical drawings.

A drafting compass with dimension and drawing-panel symbols.
Inside this lesson 10 sections 5 questions 5 figures

SECTION 1

Historical Context & Motivation

Technical drawing has always grappled with the tension between information density and visual clarity. In hand-drafted engineering documents, drafters would use opaque correction tape or white paint to mask underlying linework before placing annotations—a physical wipeout that ensured text, symbols, and callouts remained legible against complex geometry. As CAD software replaced drafting boards, the need for an analogous digital mechanism became apparent: without selective masking, dense drawings produced overlapping annotations that were nearly impossible to interpret in print.

AutoCAD's evolution toward annotation clarity mirrors the broader software engineering principle of separation of concerns. Just as a well-designed API hides implementation details behind a clean interface, wipeouts hide distracting geometry behind a clean annotation surface. The WIPEOUT command was introduced to address a fundamental problem in documentation workflows: how to maintain both the integrity of the underlying model and the readability of the final deliverable.

1982 • AutoCAD Release 1

Autodesk releases the first version of AutoCAD, establishing the foundation for computer-aided drafting. Annotation tools are minimal; masking is handled by strategic layering and manual object placement.

2000 • WIPEOUT Command Introduced

AutoCAD 2000i introduces the WIPEOUT command as a formal object type, providing a polygonal region that masks all underlying objects. This eliminates the need for workarounds like solid-filled polylines matching the background color.

2005 • Block-Integrated Wipeouts

AutoCAD 2006 enhances wipeout support within block definitions, allowing reusable symbols with built-in masking. This proves critical for annotation blocks used in electrical, mechanical, and architectural documentation.

2014 • Background Mask Expansion

AutoCAD 2015 refines the MTEXT background mask feature, offering a lightweight alternative to wipeouts for simple text-over-geometry scenarios, though wipeouts remain essential for complex polygonal masking.

2023 • Modern Annotation Workflows

Contemporary AutoCAD versions integrate wipeouts with annotative scaling and dynamic blocks, enabling responsive masking that adapts to viewport scale in model space and paper space alike.

The core question that wipeouts address can be stated concisely: how does one overlay textual or symbolic annotations on a complex drawing without the underlying geometry rendering those annotations illegible? This is not merely an aesthetic concern—in engineering and architectural practice, ambiguous or unreadable annotations can lead to fabrication errors, code violations, and costly rework. The wipeout object provides a declarative masking solution that preserves the underlying data while controlling its visual presentation.

SECTION 2

Core Principles & Definitions

A wipeout in AutoCAD is a polygonal object that renders as a blank region matching the drawing background color. It functions by exploiting the draw order (z-order) system: objects drawn later in the sequence appear on top of objects drawn earlier. When a wipeout is placed above underlying geometry in the draw order, it occludes—or masks—everything beneath it, creating a clean visual canvas for annotations. Importantly, the masked objects are never deleted or modified; they remain fully editable and will reappear if the wipeout is removed.

1

Non-Destructive Masking

Wipeouts hide objects visually without altering or deleting the underlying geometry. This is analogous to CSS overflow: hidden—content exists in the DOM but is simply not rendered within the visible region.
2

Draw Order Dependency

Wipeouts rely on AutoCAD's draw order (z-index) stack. A wipeout must be placed above the objects it masks and below the annotations it supports. Think of it as a z-buffer operation in computer graphics.
3

Polygonal Boundary

The wipeout region is defined by a closed polygon with 3 or more vertices. The boundary can be displayed or hidden via the WIPEOUT Frames system variable, controlling whether the edge is visible on screen and in print.
4

Background Color Matching

The wipeout fill automatically matches the current background color. In model space it appears as the drawing background; on printed output it renders as white (or the paper color), ensuring seamless integration.
5

Print & Plot Fidelity

Wipeouts produce correct masking in plotted output. Unlike some on-screen workarounds, wipeouts are rasterized during plot generation, ensuring that masked regions appear clean on paper and in PDF exports.
✦

KEY TAKEAWAY

Think of a wipeout as a z-buffer occluder in real-time rendering. In a 3D graphics pipeline, the z-buffer determines which fragments are visible based on depth. A wipeout works similarly in 2D: it sits at a higher z-order than geometry but lower than annotations, creating a clean compositing layer that separates linework from text. The underlying data is never discarded—just as occluded fragments still exist in the scene graph, masked AutoCAD objects remain fully intact in the drawing database.

SECTION 3

Visual Explanation

How a Wipeout Masks Underlying Geometry

WITHOUT WIPEOUTWITH WIPEOUTPUMP P-101⚠ Text overlaps lines — hard to readPUMP P-101✓ Wipeout clears area — crisp textDraw order: geometry → textDraw order: geometry → wipeout → textGreen dashed outline = wipeout boundary (frame can be hidden)
Left: without a wipeout, the annotation text "PUMP P-101" overlaps grid lines and diagonal elements, reducing legibility. Right: a wipeout (green dashed boundary) masks the underlying geometry, creating a clear background for the label. The draw order stack is shown below each panel. The wipeout boundary frame can be toggled on or off via the WIPEOUTFRAME system variable.

The diagram above illustrates the fundamental problem and solution. On the left, the annotation "PUMP P-101" is placed directly over a grid of structural lines and diagonal members; the text competes with the linework and becomes difficult to parse at a glance. On the right, a wipeout region is inserted between the geometry and the text in the draw order stack. The wipeout fills with the background color, effectively erasing the visual presence of the lines beneath the annotation without modifying the actual drawing data. This three-layer compositing approach—geometry, then wipeout, then annotation—is the canonical pattern for using wipeouts in production drawings.

Notice that the wipeout boundary (the green dashed rectangle in the diagram) can be toggled. Setting WIPEOUTFRAME = 0 hides the boundary entirely, making the mask seamless. Setting it to 1 displays the frame on screen and in plots, which is useful during editing but undesirable in final deliverables. The value 2 displays the frame on screen but suppresses it in printed output—a practical compromise for authoring workflows.

SECTION 4

How Wipeouts Work — The Draw Order Engine

Understanding wipeouts requires understanding AutoCAD's draw order system. Every object in a drawing exists in a display list that determines the order in which entities are rendered to the screen and to plotted output. Objects higher in this list are drawn later and therefore appear on top. The draw order is conceptually identical to the z-index in CSS or the painter's algorithm in computer graphics: the last-painted element covers anything beneath it. Wipeouts exploit this by acting as opaque polygons in the display list, occluding all objects with a lower draw order.

The Draw Order Stack Model

DRAW ORDER STACK (Bottom → Top)LAYER 1: Base Geometrylines, arcs, circles, hatchesLAYER 2: Wipeout Objectopaque polygon, bg-fillLAYER 3: Annotationtext, leaders, dims, symbolsRender orderbottom → topDRAWORDER CommandsDRAWORDERMove selected objects above/below othersTEXTTOFRONTBring all text/dimensions to frontWIPEOUTCreate masking polygon from picked pointsWIPEOUT FToggle frame visibility (0, 1, 2)WIPEOUT PConvert a closed polyline into a wipeoutKey Principle: Wipeout must be ABOVE geometry and BELOW annotation in the draw order stack.
The draw order stack shows the three-layer compositing model. Base geometry sits at the bottom, the wipeout object occupies the middle, and annotations are placed on top. The right panel lists the primary commands used to create and manage wipeouts and draw order.

The draw order mechanism in AutoCAD is managed through a linked list stored per layout. Each entity in the drawing database carries a position index in this list. When you invoke DRAWORDER and choose "Above Object" or "Below Object," AutoCAD repositions the selected entity's index relative to the reference entity. The TEXTTOFRONT command is a batch operation that iterates through all text and dimension entities and moves them to the highest positions in the display list—a useful companion to wipeout workflows because it ensures all annotations remain visible after wipeout insertion.

💡

WIPEOUT from Polyline

The WIPEOUT command's Polyline option (P) converts an existing closed polyline into a wipeout object. This is extremely useful when you need non-rectangular masking regions. Note that the original polyline is consumed by the conversion—AutoCAD will prompt you whether to keep or delete the source polyline's frame. If complex curves are needed, first approximate the shape with a polyline, then convert.

Internally, a wipeout is stored as a specialized raster image entity with a 1×1 pixel white bitmap. AutoCAD clips this image to the polygon boundary and renders it opaque at the background color. This implementation detail explains why wipeouts interact with the IMAGEFRAME system variable in older versions—though modern releases provide the dedicated WIPEOUTFRAME variable to separate wipeout frame visibility from image frame visibility.

SECTION 5

Detailed Workflow & Classification of Masking Methods

Creating a Wipeout: Step-by-Step Command Sequence

  1. Step 1: Type WIPEOUT at the command line and press Enter. The command prompt displays options: Specify first point or [Frames/Polyline].
  2. Step 2: Pick vertices to define the polygonal boundary. Each click adds a vertex. The region must be closed—AutoCAD automatically closes the polygon when you press Enter after the last point.
  3. Step 3: After the wipeout is created, use DRAWORDER to position it above the geometry you want to mask and below any annotations you want to display.
  4. Step 4: Set WIPEOUTFRAME to 0 or 2 to hide the boundary in the final output. Verify by previewing the plot.

Comparison of Masking Methods in AutoCAD

MethodHow It WorksShape SupportBest Use Case
WipeoutOpaque polygon via draw order; masks all objects below itAny closed polygon (3+ vertices)General-purpose masking behind labels, symbols, and block references
MTEXT Background MaskRectangle behind multiline text; set via MTEXT properties → Background MaskRectangular only, with adjustable border offset factorQuick masking behind text notes when a simple rectangle suffices
Solid Hatch (background color)Filled region using the background color; relies on draw orderAny closed boundary (including curved)Legacy workaround; not recommended because it breaks if background color changes
Dimension BreakBreaks dimension lines at crossing points; does not mask but clears spaceN/A — operates on dimension entities onlySpecific to dimension-over-dimension conflicts

Comparison of annotation masking strategies in AutoCAD

The wipeout object is the most versatile of these methods because it supports arbitrary polygonal shapes, works with any entity type (not just text), and is independent of background color. The MTEXT Background Mask is often sufficient for simple text-over-geometry scenarios, but it only produces rectangular regions and cannot mask behind non-text objects like block references or custom symbols. For computer science students, the distinction is analogous to choosing between a specialized CSS property like text-shadow and a general-purpose compositing layer—each has its place, but the general tool covers more cases.

SECTION 6

Worked Example — Masking Behind a Title Block Callout

Consider a mechanical floor plan drawing in which dense piping runs cross through a region where you need to place a callout bubble referencing Detail A on Sheet 3. The callout is a circle with text inside, and the piping lines currently run directly through the callout location, making it unreadable. We will use a wipeout to mask the piping behind the callout.

Creating a Wipeout Behind a Detail Callout

  1. 1

    Step 1 — Draw the Callout Annotation

    First, place the callout circle and text at the desired location. Use the CIRCLE command to draw a circle of radius 0.375" centered at the annotation point. Then use MTEXT to place the reference text "A" centered inside the circle, and a smaller line reading "3" below it for the sheet number.
    Callout geometry created: circle at (45.25, 22.10) with r = 0.375, text entities inside.
  2. 2

    Step 2 — Create a Masking Polyline

    Since the callout is circular, we need a polygonal approximation. Use the POLYGON command to inscribe a regular polygon (12 sides is sufficient for visual smoothness) within a circle slightly larger than the callout—use a radius of 0.45" to provide clearance. Center it at the same point: (45.25, 22.10). This creates a closed polyline that will serve as the wipeout boundary.
    12-sided polygon created, inscribed in circle of radius 0.45", centered at (45.25, 22.10).
  3. 3

    Step 3 — Convert Polyline to Wipeout

    Type WIPEOUT and press Enter. When prompted, type P for the Polyline option and press Enter. Select the 12-sided polygon. When asked "Erase polyline? [Yes/No]", choose Y—the polyline is consumed and replaced by a wipeout object with the same boundary.
    Wipeout object created from polyline. The region now masks underlying geometry.
  4. 4

    Step 4 — Adjust Draw Order

    Select the wipeout, type DRAWORDER, and choose Back to send it behind the annotation. Then select the callout circle and text, type DRAWORDER, and choose Front. Alternatively, run TEXTTOFRONT to bring all text and dimensions to the top of the draw order in one operation. The key constraint is: piping < wipeout < callout in the draw order.
    Draw order: piping geometry → wipeout → callout circle and text. Piping is masked behind the callout.
  5. 5

    Step 5 — Hide the Wipeout Frame

    Type WIPEOUT and select the Frames option (or set WIPEOUTFRAME to 2). This keeps the frame visible on screen for editing but hides it in plotted output. Perform a plot preview to confirm the masking appears seamless.
    Final result: The callout reads clearly against a clean background. All piping geometry beneath the wipeout remains in the drawing database, editable and intact.

SECTION 7

Strengths, Limitations, and Practical Considerations

StrengthsLimitations
Non-destructive: underlying geometry is preserved and editableWipeout boundaries are straight-edged only (no true curves); curved regions require polygonal approximation
Automatically matches background color—no manual color assignment neededWIPEOUTFRAME affects all wipeouts globally; you cannot show some frames and hide others
Works in both model space and paper space layoutsIn overlapping viewports, wipeouts in model space may not mask paper-space objects and vice versa
Can be embedded inside block definitions for reusable symbols with built-in maskingDraw order must be managed carefully; inserting new geometry may require reordering wipeouts
Plots and exports correctly to PDF, DWF, and hardcopyIn older AutoCAD versions, wipeout frames are controlled by IMAGEFRAME, causing conflicts with image display settings

Wipeout strengths and limitations

⚖️

DESIGN TRADE-OFF

The global nature of WIPEOUTFRAME is analogous to a global CSS rule that affects all instances of a class—you cannot scope it to individual elements. This is a known design limitation. In practice, the value 2 (display on screen, hide in plot) provides the best workflow compromise: you can see and select wipeouts during editing, but they vanish in the deliverable output.
⚠

Common Pitfall: Draw Order Reset

AutoCAD's REGEN command can sometimes reset draw order in older versions. If your wipeouts suddenly stop masking geometry after a regeneration, select the wipeout and re-issue DRAWORDER → Above Object to restore the correct stacking. Modern versions (2018+) have largely eliminated this issue, but it is worth verifying in your specific release.

SECTION 8

Connection to Advanced Annotation Techniques

Wipeouts represent a fundamental masking strategy, but AutoCAD's annotation ecosystem extends well beyond simple polygonal occlusion. Understanding how wipeouts relate to more advanced techniques allows you to select the right tool for each documentation scenario and to build more maintainable, scalable drawing templates. The table below contrasts wipeouts with several advanced annotation and masking features available in modern AutoCAD releases.

FeatureWipeout (Basic)Advanced Equivalent
Text MaskingManual wipeout polygon placed behind each text objectMTEXT Background Mask: built-in property, auto-sizes to text extents, adjustable offset factor
Block MaskingWipeout embedded inside block definitionAnnotative blocks with dynamic visibility states can toggle masking geometry per viewport scale
Viewport ClippingWipeout in paper space to hide viewport edgesNon-rectangular viewport clipping boundaries (VPCLIP) provide native edge control without wipeouts
Dimension ClarityWipeout behind dimension textDIMBREAK command automatically breaks extension/dimension lines at crossings; dimension style 'Text fill' property
Leader MaskingWipeout behind leader contentMultileader styles support background mask natively via MLEADERSTYLE settings

Wipeouts vs. advanced annotation masking techniques

The progression from manual wipeouts to integrated annotation properties mirrors a broader software engineering pattern: moving from imperative, manual interventions toward declarative, property-driven configurations. Just as modern UI frameworks encourage declarative component styling over manual DOM manipulation, modern AutoCAD encourages using built-in masking properties on text, dimensions, and leaders wherever possible, reserving wipeouts for cases where no built-in property exists—such as masking behind complex block references, detail callouts, or custom graphical elements. As you advance, consider building custom dynamic blocks that embed wipeouts internally, exposing clean insertion behavior that hides the masking mechanism from end users.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why a wipeout is described as "non-destructive." What specific property of the wipeout ensures that underlying geometry is preserved? How does this differ from simply deleting or trimming the objects beneath the annotation?
Show answer
A wipeout is non-destructive because it operates entirely within the draw order (display list) system—it does not modify, trim, or delete any underlying entities. The wipeout is an opaque polygonal region that sits above geometry in the rendering stack, visually occluding objects beneath it while leaving them fully intact in the drawing database. If you delete the wipeout, all previously masked objects reappear exactly as they were. By contrast, trimming or deleting objects permanently alters the drawing geometry, making it impossible to recover the original state without an undo operation. This is analogous to the difference between CSS visibility: hidden (object still in the DOM but not rendered) versus actually removing a DOM node.

Question 2: BASIC CALCULATION

You need to create a wipeout behind a circular callout symbol that has a radius of 0.5 units. You decide to approximate the circle with a regular polygon inscribed in a circle of radius 0.6 units (to provide clearance). If you use a 16-sided polygon, what is the approximate area of the wipeout region? Compare this to the area of the original callout circle.
Show answer
The area of a regular n-sided polygon inscribed in a circle of radius R is given by A = (1/2) × n × R² × sin(2π/n). For n = 16 and R = 0.6: A = (1/2) × 16 × 0.36 × sin(22.5°) = 8 × 0.36 × 0.3827 ≈ 1.102 square units. The area of the callout circle with r = 0.5 is π × 0.25 ≈ 0.785 square units. The wipeout area (≈1.102) exceeds the callout area (≈0.785) by roughly 40%, which is expected—the wipeout must extend beyond the callout boundary to provide visual clearance. Using more polygon sides (e.g., 24 or 32) would bring the wipeout area closer to π × 0.36 ≈ 1.131, the area of the circumscribing circle itself.

Question 3: INTERMEDIATE

A drawing contains the following objects on the same layer, listed in current draw order (bottom to top): hatched floor pattern, structural grid lines, piping runs, a wipeout, equipment symbol blocks, dimension text. You add a new leader annotation that should be visible above the wipeout but below the equipment symbols. Describe the DRAWORDER commands you would execute to achieve this, and explain why the order matters.
Show answer
The current stack from bottom to top is: hatch → grid → piping → wipeout → equipment blocks → dimensions. The leader needs to be above the wipeout (so it is not masked) but below equipment blocks (so blocks appear on top of the leader line if they overlap). After placing the leader, you would select it and run DRAWORDER, choosing 'Above Object' and selecting the wipeout as the reference. This inserts the leader just above the wipeout. Then verify: hatch → grid → piping → wipeout → leader → equipment → dimensions. If the leader were placed below the wipeout, it would be masked and invisible. If placed above the equipment blocks, leader lines could obscure equipment symbols. The draw order establishes a visual priority queue, and each element must be positioned correctly relative to its neighbors to produce the intended layered compositing. An alternative approach would be to select the leader and use DRAWORDER → 'Below Object,' selecting one of the equipment blocks as the reference.

Question 4: APPLIED

You are developing a reusable dynamic block for a valve symbol that will be inserted across dozens of P&ID (piping and instrumentation diagram) drawings. The valve symbol must automatically mask any piping lines that run through it. Describe how you would embed a wipeout inside the block definition, and identify at least two potential issues you must address when scaling or rotating the block after insertion.
Show answer
To embed a wipeout in a block, open the Block Editor (BEDIT), draw the valve geometry, then create a closed polyline outlining the masking region around the symbol. Convert the polyline to a wipeout using WIPEOUT → P. Ensure the wipeout's draw order within the block is below the valve symbol geometry but will be above external piping when the block is inserted. Save and close the block editor. Two key issues arise: (1) Non-uniform scaling—if the block is scaled differently in X and Y, the wipeout polygon distorts proportionally, which may cause gaps where piping remains visible at the edges. To mitigate this, define the block with the 'Scale Uniformly' constraint enabled, or make the wipeout polygon slightly oversized to tolerate minor aspect ratio changes. (2) Draw order interaction—when the block is inserted, the wipeout inside it must be positioned above the piping entities in the host drawing's draw order. If piping is added after block insertion, the new piping may render above the block's wipeout. The solution is to run DRAWORDER on the block reference to ensure it remains above later-added piping, or to use TEXTTOFRONT (which also moves blocks with wipeouts) periodically during drafting.

Question 5: CRITICAL THINKING

AutoCAD's WIPEOUTFRAME system variable is globally scoped—it affects all wipeouts in the drawing simultaneously. Propose and justify an alternative design (using concepts from software engineering such as encapsulation, object-level properties, or state management) that would allow per-object frame visibility control. What trade-offs would your design introduce compared to the current global variable approach?
Show answer
An object-level design would store the frame visibility state as a property on each wipeout entity in the drawing database, analogous to how each entity already carries its own layer, color, and linetype properties. Each wipeout would expose a 'FrameVisible' property with values 0 (hidden), 1 (shown), or 2 (screen-only). This approach follows the encapsulation principle: state is co-located with the object it describes, eliminating the global coupling that WIPEOUTFRAME introduces. The rendering engine would query each wipeout's individual property during display and plot operations. The trade-offs include: (1) Increased complexity in the entity data model—every wipeout now carries additional metadata, increasing file size slightly; (2) Migration overhead—older DWG formats would need a fallback mechanism, possibly defaulting to the global variable when the per-object property is absent; (3) User interface complexity—the Properties palette would need UI elements for per-wipeout frame control, and users accustomed to the single-variable workflow might find per-object management tedious for drawings with hundreds of wipeouts; (4) However, the benefits are significant—users could show frames on wipeouts under active editing while hiding frames on finalized annotations, enabling a selective workflow analogous to component-level CSS scoping. A hybrid approach would retain the global variable as a default and allow per-object overrides, similar to how AutoCAD handles BYLAYER vs. per-entity color assignments.

SUMMARY

Lesson Summary

Summary

The wipeout is AutoCAD's primary tool for non-destructive masking of underlying geometry, enabling clean, readable annotations in complex technical drawings. Created via the WIPEOUT command (either by picking polygon vertices or by converting a closed polyline), the wipeout exploits the draw order stack to occlude objects beneath it while preserving them in the drawing database. The canonical layering pattern positions base geometry at the bottom, the wipeout in the middle, and annotation objects on top—a three-layer compositing model that mirrors z-buffer concepts from computer graphics.

Key system variables include WIPEOUTFRAME (controls boundary visibility globally: 0 = hidden, 1 = shown, 2 = screen-only) and DRAWORDER (repositions entities in the display list). Alternative masking approaches include the MTEXT Background Mask for rectangular text backgrounds and DIMBREAK for dimension crossing conflicts. For reusable symbols, wipeouts can be embedded inside block definitions to provide automatic masking upon insertion. As annotation requirements grow more complex, transition to declarative, property-driven masking features built into modern text, dimension, and multileader styles.

Varsity Tutors • AutoCAD • Wipeouts — Use wipeouts to mask underlying objects for clarity