PC Review


Reply
Thread Tools Rate Thread

Autocad & excel

 
 
Novice Lee
Guest
Posts: n/a
 
      12th Nov 2008
I was wondering is there a way for excel VB to extract information from a
autocad drawing? Autocad can extract the block attributes into a csv file,
but I would like to do a one click kind of thing.

Thanks for your feed back.
 
Reply With Quote
 
 
 
 
David
Guest
Posts: n/a
 
      12th Nov 2008
You can open, read and extract data/text from a csv file with Excel VBA
I picked it up from J Walkenbach,s "Power Programming with VBA"
You can probably write a command line batch file to create the .csv with
Autocad
Your Excel process would be:
run command line batch file to create .csv
open the csv, read, extract relevant data, store data in spreadsheet
you will need to use the shell function between these 2 steps, see:
http://www.cpearson.com/excel/ShellAndWait.aspx
Hope this gives you a start


"Novice Lee" wrote:

> I was wondering is there a way for excel VB to extract information from a
> autocad drawing? Autocad can extract the block attributes into a csv file,
> but I would like to do a one click kind of thing.
>
> Thanks for your feed back.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoCad/Excel SteffenAndreassen Microsoft Excel Misc 6 2nd Sep 2008 01:02 AM
Migrating VBA to Excel 2007 - AutoFill & Excel Object Error - ExcelFrom AutoCAD 2004 amiga.user Microsoft Excel Programming 1 5th Jul 2007 11:53 AM
excel to autocad routine opens a new instance of excel that has no worksheet. tombates@city-net.com Microsoft Excel Programming 3 1st Aug 2006 03:37 AM
Using the Autocad object library to get data from an autocad drawing Tom Ross Microsoft Access Form Coding 0 19th Oct 2005 10:15 PM
edit an autocad r14 <embed> object to open in autocad 2000 =?Utf-8?B?RGVyZWs=?= Microsoft Excel Misc 0 20th Jan 2005 09:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:39 AM.