• 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

ATC LISP: Convert Arcs Back to Circles in AutoCAD

September 18, 2020

Last updated July 28, 2026

ATC converts arcs into circles. Select any number of arcs, and each one is replaced by a full circle sharing its centre and radius — and, importantly, all of its other properties. Layer, colour, linetype, lineweight and thickness all carry across, so the new circles sit in your drawing exactly as the arcs did.

Anything in your selection that is not an arc is ignored, so you can window a busy area without being careful about it.

It is by Zoltan Toth of ZOTO Technologies in Melton, Victoria — which makes it one of the few routines in this library written locally.

Why you would want this

Trimmed geometry. You draw a bolt circle or a set of holes, trim the circles back while working on something else, and later need them whole again. AutoCAD has no command that closes an arc back into a circle, so the alternatives are drawing new circles and matching their properties by hand, or snapping a fresh circle to the arc’s centre and endpoint.

Imported data is the other common case. Files that have come through a translator often arrive with circles broken into two or four arcs. Selecting the lot and running one command is considerably faster than repairing them individually.

How the property carry-over works

Worth explaining, because it is the part that makes the routine worth having rather than a novelty.

Rather than reading the arc’s centre and radius and drawing a new circle, the routine takes the arc’s complete entity definition, swaps the entity type from arc to circle, and drops the two values that only an arc has — its start and end angles. Everything else in the definition is left untouched and comes across automatically.

That is why the description can promise “all the properties of the arc it replaces” rather than a specific list: the routine never enumerates them, so it cannot miss one. A property added to AutoCAD ten years after this was written would still carry across.

The circles are new objects, not modified arcs, so the original arcs are gone when it finishes.

Command reference

The file defines a single command, ATC — arcs to circles.

How to load it

Unzip Atc.zip and load ATC.LSP with APPLOAD, or add it to the Startup Suite. No support files. Our AutoLISP guide covers loading.

Step-by-step usage

  1. Type ATC. It prompts “Select arcs to convert to circles:”.
  2. Select. A window over the whole area is fine — the selection filter accepts arcs only, so nothing else is touched.
  3. Press Enter. Each arc becomes a circle with the same centre, radius and properties.

Worth checking one result against the original layer and linetype the first time, just to satisfy yourself the carry-over is doing what it says.

Compatibility notes

Version 1.0, no date in the file. It works purely by manipulating entity definitions, which is the most stable thing you can do in AutoLISP — the arc and circle definitions have not changed in decades. Written-for rather than tested-on, but this is the kind of code that ages well.

Plain AutoLISP with no dialog boxes and no Express Tools calls, so nothing requires the full product; LT users on LT 2024 or later, the release that brought AutoLISP to LT, should be able to run it. See what runs on AutoCAD LT. It replaces geometry, so run it on a copy the first time.

Download

Name: ATC
Description: This program takes any number of arcs and converts them into circles.
Each circle is a new object with all the properties of the arc it replaces.
Non-arc objects are ignored.
Type: AutoCAD AutoLISP Routine
Author: Zoltan Toth
File Size: 1 Kb
Cost: Free
Worked on: AutoCAD
Download File: Atc.zip

Related routines

  • C2P — the other common conversion, line or arc to polyline.
  • Trim to Point — the operation that created your arcs in the first place.
  • Best of LISP collection — more drawing repair utilities.

References

  • AutoLISP: the complete guide
  • Free LISP routines library
  • AutoLISP Lesson 9: Data Structures
  • AutoLISP on AutoCAD LT

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