I've created an ACTION in autocad that works like we want it to in a drawing (purges, audits, resets layer filters and scale lists, deletes a couple layers), but now I would like to make a script or lisp that would open a file, run the command, then open each of the files that are xrefed into it in turn and run the command on each of them, save and close them, and finally reload all xrefs in the original.
I'm kind of stuck with where to begin as I'm not good with this stuff and usually just stumble around until I find my way. LOL.
Any help is appreciated. Thanks.