How to import Excel coordinates into AutoCAD as points

You will turn a list of survey coordinates in Excel into a script file that draws every point in AutoCAD in one go, so you never type coordinates by hand. It suits anyone with a coordinate list, from five points to a thousand. You need Excel, AutoCAD and a plain text editor such as Notepad.

YouTube video: How to Import Excel Coordinates into AutoCAD | Create 1000 Points Automatically | Complete Tutorial

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
39 min 8 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Open Excel and label four columns: Point, Easting (X), Northing (Y) and Coordinate. Easting is the X value and Northing is the Y value in AutoCAD.

  2. Type or paste your survey points into the first three columns. Even 1000 rows work the same way, so do not stop at five.

  3. In cell D2 enter =B2&","&C2 and press Enter. Excel joins the two numbers with a comma, which gives the X,Y format AutoCAD expects.

  4. Drag the small fill handle at the bottom right corner of D2 down to your last row to copy the formula.

  5. In E2 type ="POINT "&D2 and fill it down. Each cell now reads like POINT 500000,300000, which is one script line.

  6. Copy column E and paste it into Notepad. Save the file as points.scr, and set Save as type to All Files so it does not become points.scr.txt.

  7. In AutoCAD, type SCRIPT on the command line and press Enter. Choose your points.scr file and watch the points appear one by one.

  8. Type Z, press Enter, then type E for Extents to bring all the new points into view. Spot-check a few against your Excel list.

Tips and common mistakes

Set PDMODE to 34 and a PDSIZE value before running the script, or the points show as tiny dots that are hard to find.

Keep Easting in X and Northing in Y. Swapping them mirrors the whole survey on screen.

Save the script as plain text only. Word or rich text files add hidden characters that break the script.

If the points land far from the origin, check that the drawing units match your coordinate units, such as metres against millimetres.

Questions

How many points can one script handle?

Thousands. A 1000-line script usually finishes in seconds, though very large files can take a minute or two.

Why are my points in the wrong place?

The usual cause is swapped X and Y values, or drawing units that do not match the units of your coordinate list.

Do I need the point number column?

Not for the script. Keep it so you can match each drawn point back to your survey sheet later.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all