• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

ROUNDMASK LISP: Circular Wipeouts AutoCAD Cannot Draw

August 3, 2026

The built-in WIPEOUT command only accepts a polygonal boundary, so masking a circular area — a column, a manhole, a bolt hole on a detail — normally means drawing a many-sided polygon by hand and hoping it looks round. ROUNDMASK makes it genuinely circular.

What RoundMask does

ROUNDMASK draws a circular wipeout from a centre and radius. CIRC2MASK converts existing circles into wipeouts of the same size and properties, deleting the original circles.

The second is the one that gets used most: you have already drawn the columns as circles, and now they need to mask what is behind them.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type ROUNDMASK and give a centre and radius, or CIRC2MASK and select existing circles.
  3. The circles are replaced by wipeouts of the same size.

How it works

A wipeout is really an image entity with a clipping boundary. The boundary is stored as a list of DXF group 14 points expressed in normalised image space, where the image occupies a unit square running from -0.5 to +0.5 in both directions. Points at radius 0.5 from the centre of that square therefore trace a circle that exactly fills the image.

So the circle is built once, in normalised space, at a fixed resolution — and the actual size and position come from the image’s own U and V vectors, DXF groups 11 and 12, which are set to the required diameter.

That is why the result stays perfectly circular at any scale. The boundary is not a polygon sized to the object; it is a fixed shape stretched by the image vectors, so a wipeout enlarged ten times is still exactly as round as it was.

Both commands work correctly in any UCS and any view.

Notes and limits

  • CIRC2MASK deletes the original circles. That is the point, but it means keeping a copy if you still need the geometry.
  • Wipeouts obey draw order. If something has disappeared that should not have, check the order rather than the mask.
  • Wipeout frames are controlled by WIPEOUTFRAME, not by this routine — set it to 0 to hide the frames on plot.
  • One undo group covers the whole operation.

Download and details

NameRoundMask — create circular wipeouts, which AutoCAD cannot do natively
DownloadRoundMask.lsp — 11.3 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandsCIRC2MASK, ROUNDMASK
Requiresnothing beyond a CAD platform with AutoLISP.
Source size11.3 KB, 280 lines
Error handlingYes — a *error* handler restores every system variable it changed, on cancel as well as on error.
UndoThe whole operation is wrapped in a single undo group, so one U reverses all of it.
CompatibilityAutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer.
AuthorYZ, August 2026
LicenceFree to use, supplied “as is” with no warranty.

References

  • BACKDROP LISP — background masks on text rather than wipeouts on geometry
  • HATCHCLEAR LISP — cutting hatch away rather than masking over it
  • LAYERSTACK LISP — draw order by layer, which is what makes masks behave
  • More free AutoLISP routines on this site
  • Wisey’s Steel Shapes — free structural steel section drawing program

Filed Under: AutoLISP Routines

Primary Sidebar

Subscribe to our Youtube Channel

Post CAD drafting jobs on Freelancer.com. and get some free money to do this.

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (30)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (29)
  • AutoCAD Tutorials (54)
  • AutoLISP Routines (328)
  • AutoLISP Tutorials (15)
  • CAD Standards (7)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (84)
  • Electrical Drafting (2)
  • General IT reference (7)
  • Geometry (15)
  • GIS (2)
  • Hatch Patterns (12)
  • Office Life Hacks (3)
  • PT (1)
  • Revit Tutorials (54)
  • Steel Detailing (14)
  • Structural Drafting (26)
  • Technical Dictionary (61)
  • Useful Website Links (19)

Footer

Free downloads

  • Free AutoLISP routines
  • Free hatch patterns
  • SHX fonts & text styles
  • Numbering LISP collection
  • ISO 3098B font

Reference charts

  • AWS weld symbols chart
  • Steel detailing chart
  • Hole & slot sizes
  • Bolt edge distance
  • ANSI & ARCH paper sizes
  • How to fold an A1 drawing

Useful links

  • CAD blocks (DWG)
  • Revit families
  • structuraldrafter.com
  • cad-corner.com
  • About
  • Privacy policy

Provided for free with no warranty · Log in