Hello everyone,
I have been running a search for different ways of creating directories within ACAD and if the directory exists, to overwrite the dwgs within and / or delete them when necessary.
I've found a couple references but they are a little obscure (at least with as little as I know, they seem to me obscured)
Anyways, could you mighty guro's drop some ideas as to the workings of searching for a directory, if it doesn't exist, create the directory. If it does exist, report back what is in the directory.
Also, How to over write a dwg. I have been using the expert variable, setting it to 4 so it doesn't prompt for over writing. Can you show me a better way of doing this.
And then, I have a curiousity question. Is this possible
(if (/= (tblsearch "ucs" (strcat "ucstmp" dwgname)) nil)
(command ".ucs" "d" "ucstmp*")
)
I want to search for any USC names, if it finds any, then delete them.
Thanks guys.