TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started 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...
-
This might help you out.
[ http://www.theswamp.org/index.php?topic=20954.0 ]
-
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.