
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the
rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
| Author |
Topic Search Topic Options
|
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Topic: ELIMINATE pan/zoom commands from triggering save? Posted: 10.Jan.2012 at 17:19 |
Hello,
Is there any possible way to eliminate the pan and zoom commands from triggering a save required? As in limit the 'save drawing' prompt to only come up when something is ACTUALLY changed, not just the view?
just wondering, and yes, im familiar with the pan/zoom combine in undo...
any suggestions? ideas?
|
 |
Vladimir Michl
Senior Member
Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2196
|
Posted: 10.Jan.2012 at 20:28 |
There is one way to do this - see the tip:
|
|
|
 |
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Posted: 10.Jan.2012 at 20:35 |
Thanks Vlad!!
So if I understood that correctly, I must type 'acad-pop-dbmod' into the command prompt after I've zoomed and panned (or anything) and wish to simply close without saving?
Or is there something more universal that just discounts zoom and pan commands altogether?
|
 |
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Posted: 10.Jan.2012 at 20:38 |
|
Tried it, acad states 'unknown command'...?
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 10.Jan.2012 at 23:34 |
Did you run the script? (acad-push-dbmod)
_Zoom _E
(acad-pop-dbmod)
_Close
Found this explanation at JTB World Blog:
http://blog.jtbworld.com/2007/12/make-changes-to-drawing-without.html
Edited by John Connor - 10.Jan.2012 at 23:57
|
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Posted: 11.Jan.2012 at 15:32 |
John, wtf is a script....LOL I cant really find anything definitive via google...
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 11.Jan.2012 at 16:12 |
|
Tulip: I thought you had used scripts before.
A script is something one uses to apply a set of commands to multiple drawings by specifying a script file and a list of drawings that you would like to
apply the script to.
|
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Posted: 11.Jan.2012 at 16:16 |
Thats what I thought too...?
Procedure? Like loading a Lisp routine?
|
 |
Vladimir Michl
Senior Member
Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2196
|
Posted: 11.Jan.2012 at 16:55 |
Yes, script is a "macro" - a series of commands executed in sequence. You can of course invoke them also individually. And this is what I meant.
Before zooming, do the "push" and after zooming do the "pop". The DBMOD will not be bumped and your drawing close will not prompt for save. You can also preset a new menu button (call it e.g. "SafeZoom") and perform the 3 commands: push;zoom;pop
|
|
|
 |
tulip3D
Senior Member
Joined: 23.Jul.2009
Location: United States
Using: AutoCAD2011, Inventor2011
Status: Offline
Points: 427
|
Posted: 11.Jan.2012 at 17:17 |
Yeah i'm still lost...trying to input commands through the command line to no avail...
but scripts are pretty much files i must download then execute? what file?
Really, I just want to simply ELIMIMATE ALTOGETHER the zoom and pan commands from triggering a 'save as'...if this is not possible tell me now and I can move on. Having to do this each time is not worth the trouble...
|
 |