Hi, everyone,
I'm in need of help deleting a group of named layout tabs in a file. I have a number of layout tabs with different names and they either ended with -24x36 or -30x42. (i.e LC-601-24x36 or LC-601-30x42). I would like to use a wildcard to delete either all the -24x36 or -30x42 tabs in the file at once.
I've tried writing code but it will not delete any of the tabs unless I use the full name and list all the tabs that need to be deleted.
Thanks,Code:(defun c:DELT30x42() (SETVAR "CMDECHO" 0) (command "undo" "begin") (command "_Layout" "Set" "Model") (command "_.layout" "_d" "*-30x42") (command "undo" "end") (SETVAR "CMDECHO" 1) (princ))
Cadd4la