Hi all
I have a block with a field that doesn't plot (which is what I want). I want the name of the layout that the block is placed on to be returned as the field value. The CTAB variable doesn't work. "Why not?", you ask. Well, we have multiple layout tabs. What I want to do is use the DATAEXTRACTION to count all of the blocks and tell me what layout they are on. This will be extracted to Excel. I want to do this from any given layout, but extract the data from ALL of the layouts. CTAB doesn't work because it inputs the name of the layout that is current when the DATAEXTRACTION is executed. I can use the DATAEXTRACTION on each layout and extract to separate files, but this is very time consuming. I am very new to LISP, but did manage to piece together the lisp below. However, now I am finding that the LISP result cannot be inserted as the field value?? Maybe I am going about this all wrong? Maybe something other than AutoLisp?
Any and all help is appreciated. Here's the LISP I cam up with.
(cdr(assoc 410(entget(ssname(ssget "L")0))))