slovenc0417 Posted March 15, 2013 Posted March 15, 2013 I have limited experience in writing Macros within CUI. Mostly i have customized some commands to get what I need. I was trying to modify the CLOSEALL command so that it will close all of the files open without saving. My attempt: ^C^C_closeall;N This did not work. I was still prompted Yes or No. I also tried : ^C^C_closeall^I;N I was hoping that when asked Yes or No, it would tab over and then answer No and subsequently close. Again, no success. A little background. I need to DXFOUT several files. Sometimes 50+. When doing so, when i normally CLOSEALL, I am prompted for each .dxf that was created if I want to save it. Since it is already saved in the folder in which the .dwg's are in, there is no reason to have to save. Therefore, I have to click "YES" 50+ times. Not the end of the world, but if there is a better way to close all of the files instantly, that would be great. Basically, I would like to manipulate the CLOSEALL icon to do what I am asking. Certainly a potential dangerous command, but one that would be certainly useful at times. Any help would be greatly appreciated! Quote
BIGAL Posted March 15, 2013 Posted March 15, 2013 A different tack why not have a lisp that picks the required files creates a script which opens, dxfout then closes each dwg rather than open all much faster and safer with regards to memory problems. Lee-mac has a script create Quote
slovenc0417 Posted March 18, 2013 Author Posted March 18, 2013 After posting this, I started reading about Scripts and AutoLisps and went to Lee Mac's website. Looks like it can really help me. i will definitely take that route. Thanks! Quote
Recommended Posts
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.