Hello all I'm doing a macro. This Macro must generate a DWF of all files on directory given. This Macro works good but I need to wait that the DWF is generated to close file. Is there a Command that sleep until the file is generated?? I did it do until (files.dwf) Loop But Autocad get blocked I need something like it do until (files.dwf) sleep (10 seconds) loop thanks