Type SCRIPT then press Enter key in your AutoCAD command bar and then locate the scr file you created in the example above and click on Open button. Now we can import these points pretty easily in AutoCAD using SCRIPT command. You can give it any name you want, in this example, I am using point.scr as the notepad file name. Now type _MULTIPLE_POINT in the first line of the notepad text just before the coordinate values and then go to file menu then save as option and save the file with. Now in the replace with field, type “,” (without quotes) and press replace all button and close the replace window, take reference of animated gif shown below. Select the space between respective cell entries and go to the edit menu of Notepad and select the Replace option. We need to replace the spaces here with the comma. You data will look like the image shown below, with lots of spaces between the values of respective cells.
Now copy data from all of these cells then open Notepad or any other simple text editor and paste the complete data in it, this process is shown in the video below. There is also another method which works in a similar way and it makes use of the script file of AutoCAD.Īgain, let’s assume we have our coordinate data in an excel sheet in three columns namely X, Y and Z (or Northing, easting and elevation if you prefer). The formula will then become, =CONCATENATE(“PO “,B3,”,”,C3,”,”,D3) Using Script file to import coordinates We can also use Command Aliases in the formula, command Alias for Point Command is PO. To cross check the total number of points created, Select all (Ctrl+A is the shortcut for selecting all objects in an AutoCAD drawing), Right click for the Properties palette and there you can see the total number of points in the drawing.
The flow of command for POINT looks like this on the command bar history. The sequence of commands used to create the point can be replicated approximately 10,000 times to create all the points but obviously, it can’t be done manually and this is where the Excel formula comes into the picture. Values which we used to create this point are shown against the labels Position X, Position Y, Position Z as shown in the image below. Select the Point, Right Click, select Properties from the menu.
If you want to verify the coordinates of the point you can do that using the Property Palette. Press the Enter key and an AutoCAD point is created at 1000,1000 with an elevation of 1000, see the animated gif above for reference. Here I will go with the first method i.e feeding the X, Y, Z Coordinates of the Point in the command bar, let it be 1000,1000,1000. Click anywhere in the drawing area and an AutoCAD point Object will be created at that particular point.Feed the X, Y, Z Coordinates of the Point in the Command Bar.Now we have a message at the Command Prompt, ‘ Specify a Point’, There are two methods to specify a point. Type in POINT in the command bar and hit the Enter key. We can convert this data in coordinate points and AutoCAD uses POINT Command to make points in AutoCAD. To create points using this data (to Export this data into an AutoCAD drawing), we have to convert this data into the language that AutoCAD can understand. Importing coordinates using excel formulaĪs shown in this pic below, we have X, Y, Z coordinates, otherwise Easting, Northing & Reduced levels of more than 10000 points in an Excel sheet.