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.

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.

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.

Visual Explanation

How a Wipeout Masks Underlying Geometry

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.

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

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.

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

Comparison of annotation masking strategies 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

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.

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
Step 1 — Draw the Callout AnnotationFirst, 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
Step 2 — Create a Masking PolylineSince 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
Step 3 — Convert Polyline to WipeoutType 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
Step 4 — Adjust Draw OrderSelect 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
Step 5 — Hide the Wipeout FrameType 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.

Strengths, Limitations, and Practical Considerations

Wipeout strengths and limitations
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
⚖️ 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.

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.

Wipeouts vs. advanced annotation masking techniques
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

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.

Practice Problems

PROBLEM 1CONCEPTUAL
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?
PROBLEM 2BASIC 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.
PROBLEM 3INTERMEDIATE
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.
PROBLEM 4APPLIED
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.
PROBLEM 5CRITICAL 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?

Lesson 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