Anda di halaman 1dari 4

use excel data to draw

About AUGI

Log In

Wish List

Communities
FAQ

Forums

AUGIWorld

HotNews

Library

Training

Surveys

User Groups

Autodesk

Forum Actions

Quick Links

Forum

English Forums

General Design

AutoCAD

AutoCAD Support

AutoCAD General

use excel data to draw

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 10 of 12

Page 1 of 2 1 2

Last

Thread: use excel data to draw


Thread Tools Display

2012-02-28,04:14 PM

#1

santhoshi.civil114776650
Woo! Hoo! my 1st post Join Date: Posts: 2012-02 1

use excel data to draw


I have some coordinates in excel sheet..how to create automatic drawing from this excel file without using polyline command...Pls suggest..

Reply With Quote

2012-02-28,05:06 PM

#2

Wanderer
Certifiable AUGI Addict

Re: use excel data to draw


Originally Posted by santhoshi.civil114776650

I have some coordinates in excel sheet..how to create automatic drawing from this excel file without using polyline command...Pls suggest..
Hi there! I've moved this question from the Sheet Set Manager forum to this one, as I believe it will be better served here. To get you started, please check the 'similar threads' feature at the bottom of this page to see similar questions and their answers.

Join Date: Location: Posts:

2001-12 St. Louis 4,350

Melanie Perry @MistresDorkness Facilities CAD Management (FM - MEP/FP) Technical Editor Revit MEP 2013 Suite

not all who wander are lost


Reply With Quote

2012-02-29,12:35 AM

#3

rstone
Member Join Date: Posts: 2001-09 6

Re: use excel data to draw


It is a simple matter to convert your excel into a drawing platform. If you want a connected polyline, a set of points, or just simple lines to be automatically drawn into the file I can point you in the right direction. Assuming this is what you want to do, it has more to do with managing your excel file than anything within AutoCAD. You can execute a series of command via copy/paste to the command line. This may be a bit rough as it is way easier to show in Excel than explain in text...but I'll give it an initial shot. Here is the basic formula in your excel file:

http://forums.augi.com/showthread.php?137577-use-excel-data-to-draw[14.8.2013. 1:54:04]

use excel data to draw

X | Y | <formula> | <paste special/values> 3 | 4 | =X2&","&Y2 | 3,4 8 | 6 | =X3&","&Y3 | 8,6 -5 | -3 | =X4&","&Y4 | -5,-3 You would create the excel sheet to include a comma between your coordinates, then highlight your finished formula columns, and right-click->copy them. After they are copied, you select another column in your spreadsheet and right-click->paste special, then select "Values". Above the first cell in the <paste special/values> column you would initiate your autocad command. If it was polyline, you would put "_PL". After that is in place, copy all of your cells in the <paste special/values>, including your initializing autocad command, copy and paste into the autocad command line. Properly written, it will automatically draw a line between all of your coordinates. I have used this function to create breaklines, insert points into CAD files, draw 3D objects, and run a series of commands with variables routinely updated by my engineers.

Last edited by rstone; 2012-02-29 at 12:43 AM.


Reply With Quote

2012-02-29,01:33 AM

#4

heinsite
100 Club

Re: use excel data to draw


rstone: Please upload a sample spreadsheet of this procedure... one that draws a simple polyline. I've automated an insertion of a series of points this way, but I'd like to see how the polyline works more clearly.

Join Date: Location: Posts:

2005-11 Kona, Hawaii 137

Dave.

Reply With Quote

2012-02-29,02:50 PM

#5

cadtag
Certifiable AUGI Addict

Re: use excel data to draw


Personally, I'd think about formatting the spreadsheet and exporting as a txt file, then tweaking that to run as a script. Presuming the Xls contains three columns of XYZ data, then concatenate that into a single column with comma delimiters, and export the result into a text file.

Join Date: Location: Posts:

2000-12 Cairo - no, not Illinois 2,872

Add the LINE command to the beginning, and load via script command

Officially Awesome Real pirates wear silk suits & ties, and write EULAs The only thing more dangerous to the liberty of a free people than big government, is big business. http://ascelibrary.org/doi/book/10.1061/9780784412077
Reply With Quote

2012-02-29,04:09 PM

#6

rstone
Member Join Date: Posts: 2001-09 6

Re: use excel data to draw


Attached is an example file of my process. Cadtag's .csv method is also valid. As always, there are multiple ways of doing things. Have to run to a meeting..so I didn't backcheck this. Please let me know if you have any errors with what I uploaded.

Attached Files

http://forums.augi.com/showthread.php?137577-use-excel-data-to-draw[14.8.2013. 1:54:04]

use excel data to draw

Drawing with Excel.xlsx (41.0 KB, 233 views)

Reply With Quote

2012-02-29,04:56 PM

#7

RJStone
Member Join Date: 2007-01 Location: Salem, Oregon, United States Posts: 21

Re: use excel data to draw


This is essentially a script. So, if you wanted to create a longer list of different commands, you could. It would just be 'tricky'. I know a CAD guy who did something similar to recreate a 3D Bridge Pier with re-aligned 3D suspension cables, all with an excel sheet and exported commands. But typically, I just use it to draw retaining wall elevations exported from our engineers calcs.
Reply With Quote

2012-02-29,08:01 PM

#8

cadtag
Certifiable AUGI Addict

Re: use excel data to draw


back in the mid nineties, the outfit i was with used a Progress database engine to generate a series of dxf files for a proposed gravity sewer system - calculating pipe sizes, inverts, manholes. importing the dxf into Acad gave us 80% complete drawings, down to the sheet number and titleblock. so you can go as complex as you're interested in going.

Join Date: Location: Posts:

2000-12 Cairo - no, not Illinois 2,872

Officially Awesome Real pirates wear silk suits & ties, and write EULAs The only thing more dangerous to the liberty of a free people than big government, is big business. http://ascelibrary.org/doi/book/10.1061/9780784412077
Reply With Quote

2012-02-29,09:23 PM

#9

heinsite
100 Club

Re: use excel data to draw


Thanks, RJ! You just added another cool technique to my toolbox! I can see this coming in very handy for plotting metes and bounds coordinates especially. I liked the humor in the example too!

Join Date: Location: Posts:

2005-11 Kona, Hawaii 137

Dave.

Reply With Quote

2012-03-01,03:48 PM

#10

RJStone
Member Join Date: 2007-01 Location: Salem, Oregon, United States Posts: 21

Re: use excel data to draw


Happy to help

Reply With Quote

Page 1 of 2 1 2

Last

Previous Thread | Next Thread

http://forums.augi.com/showthread.php?137577-use-excel-data-to-draw[14.8.2013. 1:54:04]

use excel data to draw

Forum

English Forums

General Design

AutoCAD

AutoCAD Support

AutoCAD General

use excel data to draw

Similar Threads

excel data to draw line in autocad.


By yonlih in forum VBA/COM Interop

Last Post: 2013-07-23, 10:10 AM

Replies: 38 Replies: 4 Replies: 1

Draw a 3d polyline from an excel spreadsheet


By Petros Hellas in forum AutoCAD Civil 3D - General

Last Post: 2011-07-13, 08:10 PM Last Post: 2010-02-03, 12:34 PM Last Post: 2009-06-04, 12:50 PM Last Post: 2007-03-28, 07:33 AM

Transfer data from Dwg to excel Data tool and Excel

By MAS2006 in forum DWG TrueConvert - General By rrijswijk.104343 in forum NavisWorks - General

Replies: 10 Replies: 7

Draw lines between two known points from a data table


By noadea in forum AutoLISP

Posting Permissions

You You You You

may may may may

not not not not

post new threads post replies post attachments edit your posts

BB code is On Smilies are On [IMG] code is On [VIDEO] code is On HTML code is Off Forum Rules

Home Wish List Communities Forums AUGIWorld HotNews Education Surveys User Groups Autodesk About AUGI

Library

Powered by vBulletin Version 4.1.11 Copyright 2013 vBulletin Solutions, Inc. All rights reserved. 1990-2013 Autodesk User Group International, Inc. All Rights Reserved. Reproduction or copying of images is prohibited. Sponsors Benefactors Advertising Terms of Service Privacy Policy Sitemap Contact

All times are GMT +0. The time now is 11:53 PM.

http://forums.augi.com/showthread.php?137577-use-excel-data-to-draw[14.8.2013. 1:54:04]

Anda mungkin juga menyukai