in a lisp im using this line to purge everything
(vla-purgeall (vla-get-activedocument (vlax-get-acad-object)))
its is in a file that is loaded on startup and (not thinking) this seems to be effecting my dwg templates by deleting my layers.
i would like to change this around and have it purge everything except my layers and im having a bit of a brain fart.
can anyone suggest a better way?