TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Shade on April 25, 2008, 03:27:05 PM

Title: Table Data Entry with Lisp?
Post by: Shade on April 25, 2008, 03:27:05 PM
Any one have an example of a lisp that fills in the data of rows and cells of a table.
I am writing a lisp that makes a drawing index of our drawings and I am wondering what is the best output type.
Ie.
A table (preferable only if not hard to generate)
B Text file which then imported in document
C CVS text file which then pulled into excel and then into drawings.

If data entry into the table is cumbersome I will use an easier output type .

Help is appreciated...
Title: Re: Table Data Entry with Lisp?
Post by: T.Willey on April 25, 2008, 04:51:56 PM
This might help you out.

[ http://www.theswamp.org/index.php?topic=20954.0 ]
Title: Re: Table Data Entry with Lisp?
Post by: cmwade77 on May 02, 2008, 01:17:37 PM
This may give you antoher good start at how to edit tables with LISP, including creating tables, deleting rows, adding rows, getting the number of rows, etc.

NOTE: I wrote this command to overcome the shortcoming in AutoCAD 2007+ that prevents you from editing sheet indexes, it reads what the first letter of the sheet you are on is and deletes all other disciplines, some modification for your standards may be needed, also note that it needs three columns to work properly.