Automatic line generation

Automatic line generation

ctnycc
Advocate Advocate
591 Views
3 Replies
Message 1 of 4

Automatic line generation

ctnycc
Advocate
Advocate

Good Day,

 

I have a spreadsheet with grid coordinates and was wondering if anyone can help with a routine to assist in producing lines for each of these.  An example of the layout in the spreadsheet is attached.   I am using this to highlight onthe map the locations of highway assets.

 

Any help or suggestions welcome

 

Thanks in advance

 

Regards

 

COlin

 

0 Likes
Accepted solutions (2)
592 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant

Use don't need routine. Make simple script in excel. 

 

Use this formula 

 

US (comma delimiter)
=CONCATENATE(E2," ",A2,",",B2," ",C2,",",D2," ")

Internetional (semicolon delimiter)
=CONCATENATE(E2;" ";A2;",";B2;" ";C2;",";D2;" ")

 

The point is get something like this:
LINE x1,y1 x2,y2
LINE x3,y3 x4,y4

 

...and paste the result column into autocad command line.

 

 

0 Likes
Message 3 of 4

ctnycc
Advocate
Advocate
Accepted solution
Hi BeeKeeCZ, i started looking at the first part using excel, second part looks promising, but i don't want the lines joined up, need to break the line command up after each line.
0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

I don't think is needed. If you paste whole colomn, then the paragraph mark does that. Otherwise add one more space at the end of formula.