Hi everybody!
I was wondering if it is possible to search for a specific attribute in an open drawing by creating a table of all the attributes contained in the drawing and then using the member function to search the table?
This is what I have so far:
(WHILE (SETQ ALIST (TBLNEXT "ATTRIBUTE" (NULL ALIST)))
(SETQ ANLIST (CONS (CDR (ASSOC 2 ALIST)) ANLIST))
)
(REVERSE ANLIST)
(SETQ ALSEARCH (MEMBER "DWGNO" ANLIST))
This doesn't seem to work, "attribute" isn't a valid table function.
Thanks for the help
I was wondering if it is possible to search for a specific attribute in an open drawing by creating a table of all the attributes contained in the drawing and then using the member function to search the table?
This is what I have so far:
(WHILE (SETQ ALIST (TBLNEXT "ATTRIBUTE" (NULL ALIST)))
(SETQ ANLIST (CONS (CDR (ASSOC 2 ALIST)) ANLIST))
)
(REVERSE ANLIST)
(SETQ ALSEARCH (MEMBER "DWGNO" ANLIST))
This doesn't seem to work, "attribute" isn't a valid table function.
Thanks for the help