Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Distinguished Contributor
powermixx
Posts: 382
Registered: ‎08-16-2004
Message 1 of 15 (1,150 Views)

Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

1150 Views, 14 Replies
05-06-2009 01:21 PM
The PARTS LISTS on our old drawings are simply text entities and lines. Some are MTEXT. But our new drawing template has us creating our parts list using the actual AutoCAD TABLES entity.

I'm looking for the best method to go from lines and text in AutoCAD, to an AutoCAD table. As of now, I have to retype everything since I can't select a column/row or group of text entities, copy/paste into a table.

I've searched the internet and have not found a decent solution.

Does anyone have a LISP function that will allow me to go from TEXT and LINES to a TABLE? I've tried B2E (lisp name) but it's not working - found that on a lisp site somewhere. Man there's gotta be a way to do this without retyping everything.
Please help, we have many dwgs like this!! :smileysad:
New Member
dandssapp
Posts: 2
Registered: ‎05-06-2009
Message 2 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-06-2009 04:06 PM in reply to: powermixx
i am having the same problem. someone please help!
Distinguished Contributor
kozmos
Posts: 143
Registered: ‎12-04-2003
Message 3 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-06-2009 06:32 PM in reply to: powermixx
Try AutotableX-Convert from http://www.atablex.com
Distinguished Contributor
powermixx
Posts: 382
Registered: ‎08-16-2004
Message 4 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 03:41 AM in reply to: powermixx
Thanks for the post and the suggestion. I was hoping to get a LISP, not a paid app. But thanks.
*Joe Burke
Message 5 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 04:23 AM in reply to: powermixx
One way to deal with the issue of, "without retyping everything", is a routine which
can swap text strings between objects.

I'm currently working on such a routine. It's close to done, but not quite. It allows
for instance, pick an text or mtext object and put that string into a table cell or
an attribute.

The routine is fairly complex since it has to handle embedded formatting between the
various types of text objects.

Joe Burke
Distinguished Contributor
powermixx
Posts: 382
Registered: ‎08-16-2004
Message 6 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 04:32 AM in reply to: powermixx
Coolness. Kudos to KozMos for posting about his application he charges for. The install is busted, you have to install in the Programs Folder. Ugh~ The Help download is also busted - no content. And the toolbar that loads when you open the compiled script creates a toolbar with all "?" I did find the right icon and tried the script.

Although all these things (install, help and icons) were busted, the script does work. I'll give em that! I just grind my teeth at having to shell out $$ for something that should be in the native Acad app. Especially something not so complete, documented. Sorry Koz...

Please keep me posted Joe. I'd like to try your routine if I may...
Distinguished Mentor
lpseifert
Posts: 889
Registered: ‎08-08-2006
Message 7 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 05:17 AM in reply to: powermixx
http://cadtips.cadalyst.com/content/alspsol0308-convert-old-table-new-table-format
~~~Civil 3D 2008~~~
*Joe Burke
Message 8 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 05:55 AM in reply to: powermixx
If you post some form of valid email address, I'll send the routine to you directly
when I have a well tested beta version. As I said, I'm close.

Otherwise, continue to check this topic. I'll post it here eventually.

BTW, the routine uses regular expressions to strip embedded formatting codes. The
methods used are exposed. It's just a LISP routine.

Joe Burke
*Some Buddy
Message 9 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 06:59 AM in reply to: powermixx

Hi,

 

A LISP could be as well a paid app. Just because
here are a lot of good people willing to help for free, it doesn't mean that
LISP is allways free :smileyhappy:


--
Humans are born with a wide horizon.
As time goes by, the
horizon narrows and
narrows, until it becomes a point of view.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Thanks
for the post and the suggestion. I was hoping to get a LISP, not a paid app.
But thanks.
Distinguished Contributor
powermixx
Posts: 382
Registered: ‎08-16-2004
Message 10 of 15 (1,150 Views)

Re: Go from TEXT and LINES to an AutoCAD TABLE (LISP) ?

05-07-2009 07:03 AM in reply to: powermixx
Yea! Go team go!

Wouldn't be so bad if the app wasn't AFU.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community