conradsteve Posted April 6, 2017 Share Posted April 6, 2017 Hi, I have this batch file that opens each drawing in a specific folder, does a purge on each file, then saves and closes it. What I'd like to do is add a WBLOCK command to that script file that would write the entire drawing to a designated folder, but instead of calling the new file 'new block.dwg' (which is the default name), it would use the same name as the original. Below are a few lines from the script file and I'd like to insert the WBLOCK command after the purges. Is that possible? Many thanks _open "U:\Project\A - CURRENT DRAWINGS\TitleBlock.dwg" _purge all * no _purge all * no _purge all * no _zoom extents _qsave _close Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.