Make AutoCAD table from lines and text

Make AutoCAD table from lines and text

neilyj666
Mentor Mentor
32,648 Views
13 Replies
Message 1 of 14

Make AutoCAD table from lines and text

neilyj666
Mentor
Mentor

I have a Civil 3D AECC table that I want to use in Excel but these entities can't be copied and pasted. I have exploded it a few time to get simple lines and text and want to convert these into an AutoCAD table for export to Excel.

 

I have searched forums and have found a few lisp routines (e.g. maketable.lsp at http://cadtips.cadalyst.com/content/alspsol0308-convert-old-table-new-table-format) but they don't work - has anyone got a lisp routine that will work for this??

 

Thanks

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Accepted solutions (1)
32,649 Views
13 Replies
Replies (13)
Message 2 of 14

Jeff_M
Consultant
Consultant
Accepted solution

I have not tried it, but this has been recently posted and modified:

 

http://www.theswamp.org/index.php?topic=35884.0

 

You will need to be a member of the Swamp (free registration) to view/download.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 14

neilyj666
Mentor
Mentor

Thanks for the link Jeff - I have just downloaded the lisp, run it and it works fineSmiley HappySmiley Happy

 

A bit bizarre that the functionality (i.e. export AECC table to csv) isn't built into C3D - one for the wish list...!!!

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 4 of 14

markus.logdal
Participant
Participant

Since im a total beginner when it comes to handling .lsp files, can you guide me in how to use this .lsp?

Thanks in advance

 

// Markus

0 Likes
Message 5 of 14

neilyj666
Mentor
Mentor

Download the lsp routine, unzip to a suitable folder (mine is in C:\AutoLISP)

Type APPLOAD at command line

Browse to lisp routine and LOAD, then close dialog

Type COT to run and follow prompts

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 6 of 14

Anonymous
Not applicable

hi,

 

that theswamp site does not allow registration, it says 'Sorry, registration is currently disabled.'

 

Could you pleease share their lisp with us here.

 

Thanks in advance

 

0 Likes
Message 7 of 14

olsonwinston
Community Visitor
Community Visitor

Attached is the most recent version of the file. Hope this helps.

Message 8 of 14

najowa
Contributor
Contributor

This lisp doesn't work for me neither does another one I have.

 

Does anyone have any others?

0 Likes
Message 9 of 14

neilyj666
Mentor
Mentor
WBLOCK the text and lines you are using to a new dwg and post it

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 10 of 14

najowa
Contributor
Contributor

http://cadtips.cadalyst.com/content/alspsol0308-convert-old-table-new-table-format

 

I was using this one and it stopped working on this table

 

 

0 Likes
Message 11 of 14

neilyj666
Mentor
Mentor

Original data above and my converted table below

Make sure all polylines are exploded to lines and that there are no duplicate line objects - there is one above the DESCRIPTION.

I then ran COT.lisp, deleted some rows then centred the text

 

2018-11-16 15_04_04-Autodesk Civil 3D 2019 - [D__Downloads_new block.dwg].jpg

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 12 of 14

najowa
Contributor
Contributor

When I explode and delete the line and run COT.lisp it only makes an empty table for me.

Message 13 of 14

neilyj666
Mentor
Mentor

Can you post both the drawing with the empty table and the lsp to check - won't be able to look until Monday but someone else may be able to give some advice

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes
Message 14 of 14

neilyj666
Mentor
Mentor

This is the one I use - similar to the v1.6a routine posted above - which worked earlier

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2026 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760