iconeo Posted November 12, 2015 Share Posted November 12, 2015 Is there a variable that triggers the save dialog box when closing a drawing. Basically I want to X if drawing has been saved and no changes have been made else do Y. Thanks. Quote Link to comment Share on other sites More sharing options...
rlx Posted November 12, 2015 Share Posted November 12, 2015 DBMOD gr.Rlx Quote Link to comment Share on other sites More sharing options...
iconeo Posted November 12, 2015 Author Share Posted November 12, 2015 Ah thanks. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted November 12, 2015 Share Posted November 12, 2015 DBMOD gr.Rlx Nicely done rlx, I didn't know that one! Quote Link to comment Share on other sites More sharing options...
ReMark Posted November 12, 2015 Share Posted November 12, 2015 What? A variable that Dadgad doesn't know? What?? I thought you were the Zen Master of System Variables? Aren't your kids named after system variables? Quote Link to comment Share on other sites More sharing options...
iconeo Posted November 12, 2015 Author Share Posted November 12, 2015 What? A variable that Dadgad doesn't know? What?? I thought you were the Zen Master of System Variables? Aren't your kids named after system variables?[emoji38] Defaultgizmo would be a good name... Quote Link to comment Share on other sites More sharing options...
Dadgad Posted November 13, 2015 Share Posted November 13, 2015 (edited) Defaultgizmo would be a good name... DAMN! You guessed it, that is my son's name! I decided not to go with NOMUTT, because my neighbor's son is named that. His big sisters, STARTUP and WORLDVIEW, always give him a hard time, and make fun of his name? Edited November 13, 2015 by Dadgad Quote Link to comment Share on other sites More sharing options...
Dadgad Posted November 13, 2015 Share Posted November 13, 2015 (edited) What? A variable that Dadgad doesn't know? What?? I thought you were the Zen Master of System Variables? Aren't your kids named after system variables? I came dangerously close to replying before rlx yesterday, that there was no such variable, until noticing it had been asked in the lisp forum, and thinking the better of it. As an illisperati, there are plenty of variables which are outside of my usual turf. Not that I wouldn't like to know them, just haven't needed them in my day to day. Edited November 13, 2015 by Dadgad Quote Link to comment Share on other sites More sharing options...
rlx Posted November 13, 2015 Share Posted November 13, 2015 (edited) I came dangerously close to replying before rlx yesterday, that there was no such variable, until noticing it had been asked in the lisp forum, and thinking the better of it.As an illisperati, there are plenty of variables which are outside of my usual turf. Not that I wouldn't like to know them, just haven't needed them in my day to day. I agree , when you don't use it , you lose it :-) I use dbmod every day in my script programs because over here where I work drawings can be read-only , already open etc etc , autocad can be in mdi mode or sdi mode so i have to take all those factors in account. And I also test for 'writestat' because even if the drawing needs to be saved , it not alwayz can be saved. gr. Rlx Edited November 13, 2015 by rlx Quote Link to comment Share on other sites More sharing options...
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.