CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedGetting Coordinates From AutoCAD to Excel

 Post Reply Post Reply
Author
BetweenTheLines View Drop Down
RSS robots
RSS robots


Joined: 20.Nov.2009
Status: Offline
Points: 751
Direct Link To This Post Topic: Getting Coordinates From AutoCAD to Excel
    Posted: 28.Aug.2012 at 16:10

Back in 2009 I wrote a blog post showing one method to get the X and Y coordinates from AutoCAD into Excel using a script.

Import X,Y Coordinates from Excel into AutoCAD

While this was a workable method, AutoCAD is well known to have several ways to accomplish anything. Between the Lines reader Brian Glackin PE provided a much easier method this week in an email to me.

A much shorter option (for one off linework) to create the lines (or plines or 3d polylines) is:

Open the excel file with your coordinate pairs
(if they are in separate columns, use =CRx&â€,â€&CRy  in a new cell to create a text line with the pairs)

Highlight the coordinate pair dataset and hit ‘Control C’

Move back to AutoCAD

Initiate the appropriate command (pline for most of what I do)

Once the command is initiated, right click on the command line and select “Pasteâ€

Once pasted, either hit <return> or close to end the command

Done!

If I need to use the line set on multiple drawings, I create a script file like you suggest, but for one offs a quick copy from excel /paste to AutoCAD command line during the active command works best.

Thank you Brian!

If you have a favorite Autodesk product tip you would like to share with others please Email Me.

Cheers,
Shaan

Go to the original post...

Between the Lines - Autodesk blog by Shaan Hurley
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,172 seconds.