PDF download Download Article PDF download Download Article

Do you have data points in an Excel file that you want to import to AutoCAD? This wikiHow will teach you how to import X, Y, Z coordinates from Excel to AutoCAD using a script file. First, you'll need an Excel spreadsheet file .

  1. You can open the program from the Start menu in Windows or in the Applications in Finder on Mac; then click File > Open . You can also open your file from your file manager by right-clicking it and selecting Open with > Excel .
    • You're going to create the script file from the Excel data.
  2. Simply click to select the first cell with data and drag and drop your cursor to the last cell that contains data. To copy, press Ctrl + C (Windows) or Cmd + C (Mac).
    Advertisement
  3. You'll find Notepad in the Start menu of Windows and TextEdit in the Applications folder in Finder for Mac.
    • To paste, press Ctrl + V (Windows) or Cmd + V (Mac). The data will appear in your text file along with spaces to look like the original source.
  4. Select (drag and drop) a space, then go to Edit > Replace then you should see the space in the "Find what" text field (Mac users may need to select "Use selection for Find"). Enter a comma in the "Replace with" field and click Replace All .
    • When you replace all the characters, you'll see your data set without the spaces, but instead with commas.
  5. AutoCAD recognizes the underscore mark as a command and spaces as enters, so it will run the "MULTIPLE" and "POINT" commands separately.
  6. Go to File > Save As then change the "Save as type" drop-down and select "All Files." For Mac, hold the Option key as you click File to get "Save As."
    • Name the file then add ".scr" to the end and click Save .
  7. You can launch this app from your Start menu in Windows or the Applications folder in Finder on Mac.
  8. You'll see the SCRIPT command appear above the command bar at the bottom of your screen as you type and your file manager will open when you press the Enter/Return key.
  9. When you double-click to select it, AutoCAD will read the commands on the first line of the document and automatically import the X, Y, Z coordinates.
  10. Pressing Esc closes the last command (which was the POINT command) and double-clicking will zoom out so you can see all the coordinates you imported.
  11. Advertisement



Video

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Open your project in Excel.
      2. Select and copy your data.
      3. Paste the copied data to a Notepad or TextEdit file.
      4. Use the "Find and Replace" tool to get rid of the spaces.
      5. Add "_MULTIPLE _POINT" to the top of the list.
      6. Save the file as an SCR file.
      7. Open AutoCAD.
      8. Type "SCR" and press Enter/Return .
      9. Navigate to and double-click your SCR file.
      10. Press Esc and double-click your mouse in the drawing area.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 44,823 times.

      Is this article up to date?

      Advertisement