Create Table from existing text

Create Table from existing text

matthew.scottVP8DB
Participant Participant
7,112 Views
12 Replies
Message 1 of 13

Create Table from existing text

matthew.scottVP8DB
Participant
Participant

I have an .dwg that was created from an exported 3D program. This results in a BOM table that is a block.  When exploded the block is just lines and MText.  My goal is to create a table that I can export into a spreadsheet.  Any ideas?

0 Likes
Accepted solutions (1)
7,113 Views
12 Replies
Replies (12)
Message 2 of 13

JBerns
Advisor
Advisor

@matthew.scottVP8DB,

 

Did you try any of the solutions from this forum?

https://autocad.space/autocad-text-to-table/ 

 

Let us know if this is helpful?

 

Optionally, post a sample drawing for the community to work with.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
0 Likes
Message 3 of 13

matthew.scottVP8DB
Participant
Participant

@Anonymous Thanks for the response. 

I had discovered Data Extraction but am having some difficulty.  I have a table of text 25 rows, 12 columns = 300 items.  I can extract the text into 300 rows of data, but they are not organized in any order.  I have even tried to define the selection set by picking text objects one-by-one to try to get them organized into some order, no luck.

0 Likes
Message 4 of 13

JBerns
Advisor
Advisor
Accepted solution

@matthew.scottVP8DB,

 

I did some more Googling:

 

Try this lisp routine:

https://cadtips.cadalyst.com/tables/convert-plain-geometry-tables 

Video tutorial:

https://www.youtube.com/watch?v=5nusUNEDkUg  

 

Let us know of your success.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 5 of 13

matthew.scottVP8DB
Participant
Participant

@JBerns LISP routine worked perfectly. Thanks for the leg work!

Message 6 of 13

arshad_iqbalEPGJT
Community Visitor
Community Visitor

"cot " lisp is working in cad 2021 & less

but not working in autocad 2024

0 Likes
Message 7 of 13

pendean
Community Legend
Community Legend

@arshad_iqbalEPGJT wrote:

"cot " lisp is working in cad 2021 & less

but not working in autocad 2024


It works just fine here in 2024 and 2025: can you share your DWG file where this does not work?

0 Likes
Message 8 of 13

MSchille-1994
Collaborator
Collaborator

This link no longer works.

Attitude, not Aptitude, Determines Altitude
Message 9 of 13

caddude
Advocate
Advocate

It looks like CADALYST dig some reorganization of their website and that link is now broken.  I found links to the actual script here located in this post: https://forums.autodesk.com/t5/autocad-forum/make-autocad-table-from-lines-and-text/td-p/2895384

0 Likes
Message 10 of 13

will_young
Advocate
Advocate

If you print the dwg to pdf (or have a table as a raster image) you could use Excel both for converting pdf or images to tables.

Windows snipping tool also has a converter for smaller tables.

 

Excel vector based pdf import

 

willyoungMF8K3_4-1749458262273.png

 

Excel table from raster image

 

willyoungMF8K3_3-1749458245182.png

 

Windows snipping tool table from raster image

 

willyoungMF8K3_0-1749458183399.png

 

 

 

 

0 Likes
Message 11 of 13

caddude
Advocate
Advocate

Thanks @will_young!!  I didn’t consider trying to convert it first. I’ll give that a try 🙂

Message 12 of 13

dgladfelter
Advocate
Advocate

If you plotted the exploded table to a raster format, the Raster Design toolset (included with AutoCAD) has a Recognize Table command.

autocad-raster-design-recognize-table.png



Donnie Gladfelter

Virtual Design Manager, Dewberry

The CAD Geek Blog

Facebook |Twitter |YouTube |LinkedIn



0 Likes
Message 13 of 13

caddude
Advocate
Advocate

@dgladfelter oohhh!  I’ll try that one too!  Thank you! 🙂

0 Likes