TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: curmudgeon on October 24, 2013, 03:33:08 PM

Title: entmake table
Post by: curmudgeon on October 24, 2013, 03:33:08 PM
The subject line pretty much sums it up.

Anybody ever try to entmake a table entity?
I grabbed a table entity and gave a look at the group codes, and it's long, but not too long.
A lot of the list could probably be left out to accept default values - like any entmake.
Title: Re: entmake table
Post by: Tharwat on October 24, 2013, 04:07:16 PM
Read about the function vla-addtable which is not that hard to deal with for most users .
Title: Re: entmake table
Post by: CAB on October 24, 2013, 06:34:17 PM
Code: [Select]
;;  Fixo - Table Create
;;  Creates a table from blocks in model space
;;  http://forums.augi.com/showthread.php?p=705589#post705589
;|
Code: [Select]
http://rkmcswain.blogspot.com/2007/08/create-table-using-lisp.html

Create a TABLE using lisp         
Here is an example of creating a TABLE entity using lisp. This example also creates some FIELDS using lisp.
Code: [Select]
;;  http://www.autocode.com/lisp/autolisp.html
;; PointA TopLines - Potions/Scrolls  (DRAWCHART.LSP)
;; Bill Kramer April 2003

There are more but I don't have time to look now.