Command Line Input by Copy Paste

by Avinash ketkar
(India)

If you have coordinates and parameters of any geometry in some formats like a csv file, Microsoft Excel or Access and if you want to create that geometries in AutoCAD, there is an easy way.

Convert the data structure to the format that has the same order which you will input when creating that geometry.

Copy this in some text editor like Notepad.

For example, if you want to create a line or polyline joining thousands of points, your contents will look like this:

line
1,1
2,2
3,5
3.02,5.5

Don't forget to add a blank line by pressing enter once at the end of file.

Now,just copy-paste the contents of the text file into the AutoCAD command prompt and the geometry will be generated.

Another example:
circle
2.2,4.5
10
circle
56.97,89.52
20

This will generate two circles with the inputs provided.

Click here to post comments

Join in and write your own page! It's easy to do. How? Simply click here to return to AutoCAD Tips.


Sign up for our FREE CAD Tips and Tricks Newsletter:
"The CAD Times"

Enter Your E-mail Address
Enter Your First Name (optional)
Then

Don't worry — your e-mail address is totally secure.
I promise to use it only to send you "The CAD Times".

Enjoy this page? Here's another way to pay it forward...

Would you prefer to share this page with others by linking to it?

  1. Click on the HTML link code below.
  2. Copy and paste it, adding a note of your own, into your blog, a Web page, forums, a blog comment, your Facebook account, or anywhere that someone would find this page valuable.

Join "The CAD Times"  Newsletter Along With 5,000 Subscribers

Enter Your E-mail Address
Enter Your First Name (optional)
Then

Don't worry — your e-mail address is totally secure.
I promise to use it only to send you "The CAD Times".



Recent Articles

  1. What is AutoCAD Used For?

    Jan 27, 23 07:50 PM

    If you ever wondered what is AutoCAD used for, read on...

    Read More

  2. Viewport turns black

    Oct 29, 21 09:34 AM

    I was giving a dog file to work on, and when I try to insert a north arrow into layout viewport, the viewport turn black when I move my cursor into the

    Read More

  3. Converting .pdf's to .dwgs

    Oct 29, 21 09:31 AM

    I get a LOT of plans from clients where they used some cad program that will only create .pdf files or they found a plan on a site and it came to them

    Read More