svorgodne Posted February 22, 2011 Posted February 22, 2011 I have a couple of questions I've been searching on the WEB without any... but really any answer... What is the definition of argument in lisp? Where can I get information from ALL ACET codes, VLA codes? I guess BETTER all subroutines from express tools which are very useful but without knowing them it is very difficult to develop any lisp without controlling the result. Thanks a lot Quote
Lee Mac Posted February 22, 2011 Posted February 22, 2011 Search your ACAD Program Files for 'tblname.lsp' Quote
svorgodne Posted February 22, 2011 Author Posted February 22, 2011 Thanks Lee, I may be completely overwhelmed because I cannot understand anything in this file. Apparently nothing is loading from when I use appload command although I know it should load all this subroutines for expresstools to work properly. Isn't there a PDF or an HLP file where all these subroutines are explained? I opened the count.lsp and found this inside: (setq lst (acet-table-name-list (list "block" 1 4 16))) ;exclude anonymous and xref blocks What are these parameters to filter out anonymous blocks and xrefs? Basically I want to filter all xrefs so I can extract xref names from a bunch of drawings in different text files. Thanks again Quote
Lee Mac Posted February 22, 2011 Posted February 22, 2011 The parameters are explained in the headers of each of the functions - the functions could be scattered in different files throughout the Express Folder. You could just write your own: (defun _tablenames ( table exclude / item result ) (while (setq item (tblnext table (null item))) (if (zerop (logand (cdr (assoc 70 item)) exclude)) (setq result (cons (cdr (assoc 2 item)) result)) ) ) (reverse result) ) Hence, to exclude XRefs and Anonymous Blocks: (_tablenames "BLOCK" (+ 1 4 16)) Lee Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.