This routine by Brian Hosenfelt creates a WMF file from model space in AutoCAD. WMF files are generally better than BMP or JPG files for use in word-processing documents or presentations, and can be inserted back into AutoCAD as vector entities. This routine automatically switches to a white background, changes the color of all layers to black, prompts you to input a file name, and then saves the file. Once it completes this task, it reverts everything back to how it was before the routine was executed. Using this routine can make quick work of repetitive WMF exporting. Start by loading the LISP file, then type in the command WMF. If the Esc key is pressed at any point during the creation of the WMF, it will revert back to normal and cancel out of the WMF creation process. |