The python code and its intention were described on this thread, Export DWG From Template File (Post 3). This post simply a request to add line numbers to code blocks on the site so you can reference specific areas of code more easily.
-Thanks anyway.