Jump to content

Auto list to Draw a poly line using X,Y coordinates


Recommended Posts

Posted

I want to draw a poly line (x,y- straight line) in auto cad by using below data its in xl.

i have ATTE text block in autocad which name is (R1M03 & 1TBINT),

my intention is to cross check the length of line (LG:mm),

I need Lisp to draw a line by using this XL data in Autocad,

please help

image.png.c6870ce8254a85644319022ab60d452c.png

 

 

 

Posted

Excel to AutoCAD lisps are out there to find.

 

Looking at your data I can't identify a coordinate for the start and end points of the line

Posted
On 12/13/2023 at 4:01 PM, vinayak said:

I want to draw a poly line (x,y- straight line) in auto cad by using below data its in xl.

i have ATTE text block in autocad which name is (R1M03 & 1TBINT),

my intention is to cross check the length of line (LG:mm),

I need Lisp to draw a line by using this XL data in Autocad,

please help

image.png.c6870ce8254a85644319022ab60d452c.png

 

 

 

Sorry for late replay,

i edited the name of 1tbn, sample enclosed, i want to automate the line to draw, presently manually drawing the line and measuring the length and adding extra length making it to round up and i have many different name points like 1TBN . please help if any lisp. 

Thanks in advance - vinayak

test.dwg

Posted

With some basic Excel skills, you could get a row with the coords like this:

X1,Y1
X2,Y2
....
Xn,Yn

Copy that row in the clipboard and start AutoCAD. Turn off the OSNAP. In the command line type PLINE<enter> and when you are prompted for the points, paste the clipboard content in the command line, It should draw the polyline you are after...

Posted

Like fuccaro, put PLINE as 1st row, you can use a formula to work out the X & Y values then use Concatenate to make the X,Y in Excel.

 

image.png.70d3c0c83f3ea6ce67ae4fe8e4d6e0b2.png

image.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...