Jump to content

Recommended Posts

Posted

Hi, I'm a newbie,

but on my new work, the company has ordered me to copy a lot of text from various dwg to Excel table.

 

So, I search a tool to do this, therefore to catch an area from AutoCAD in which there are some data and paste to clipboard or to Excel table directly.

 

I've found a wonderful Lisp script (in compiled format VLX) that does it this!!!

This is called "Txt_to_Xls_V2.VLX", and you can view on this demo video:

 

Unfortunately, the forum on which this script resides was abandoned from few years and the registration page doesn't work. So, I cannot login to download it.

 

I attach to this post a pair of dwg, that are those from which I must catch the data, such as shown in "table.jpg" attached screenshot.

 

I've a lot of these, with a short timing.

 

I would appreciate very much that someone help me, because I don't know LISP programming language, and I've no time to learn it, because at work I am on trial period, and if I spend too much time, I will lose my job.

 

Meantime, I continue to copy data manually but, doing it, I'm afraid of making mistakes in copying that will be more severe problem instead of to take too much time to do this job.

 

Many many many thanks in advance to all.

Riccardo

example.dwg

example-only-table.dwg

table.jpg

Posted (edited)

Have you tried using AutoCAD's DATAEXTRACTION command?

 

There is another option for getting text (plain text not MText) from an AutoCAD drawing to an Excel spreadsheet. It is a lisp program called Click2XLS.vlx and it is available from CADStudio as freeware. Download the file. Open a new Excel spreadsheet then go to your drawing, APPLOAD the .vlx file, then invoke the command TEXT2XLS. When prompted start selecting your text objects. When done press the Enter key. Pressing the F2 key in AutoCAD will bring up the Text window and there you'll see a list of what text was exported as well as a sentence that reads "Strings of X texts exported". Now open your spreadsheet and view its contents.

 

Find Click2XLS.vlx here...http://www.cadstudio.cz/freeware

 

Note: I did a simple test this morning using the program and it worked. The default start position in Excel for placement of text is Sheet 1, cell A1. It is possible to change the position of inserted text by opening the spreadsheet and clicking on a different sheet and even a different cell. This might save you some time having to reformat the text once it is exported to Excel. Good luck.

 

Addendum

 

I found a lisp routine called TXTOUT.lsp by John A. Bogie that incorporates original code by Tony Tanzillo which will export Text and MText to a text file that can be opened in Excel. The code can be found in this link to an AUGI thread dating from 2006. Once again I did a simple test that verified that the two commands worked as described by generating a text files for both Text and MText objects.

 

http://forums.augi.com/archive/index.php/t-35671.html

Edited by ReMark
  • 4 months later...

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...