ash_m Posted March 5, 2010 Share Posted March 5, 2010 Hi there, I'm having a problem with Osnap turning itself off. I'm on AutoCAD 2009. When I'm in a drawing and "undo" multiple times (like 3 times in a row or more), the Osnap turns itself off. I then have to turn it back on, and then pick the entities I want to snap to all over again. It does this every time without fail when I "undo." Any clues as to why this is happening and what I can do to keep it from happening in the future?? It's rather annoying. Thanks. Quote Link to comment Share on other sites More sharing options...
Glen Smith Posted March 5, 2010 Share Posted March 5, 2010 Are any of the UNDO's part of a LISP routine? Have you added any LISP routines recently? LISP's sometimes turn off the snaps while they are running, if they are not written in a friendly way, they can leave the snaps in a different state than when they started. Likewise of a LSIP errors during execution with no error handling. And doing an undo that undoes part of a LISP may undo the return of the snaps to where they were. Glen Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 5, 2010 Author Share Posted March 5, 2010 Thanks Glen. Unfortunately I have no idea what a LISP routine is. So I don't think I've added any recently? I'm just a designer that uses the AutoCAD program - I don't actually know any of this lingo. How would I find out if this is a LISP causing this? Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted March 5, 2010 Share Posted March 5, 2010 Autolisp is a programming language for AutoCAD. An autolisp statement like this (setvar "osmode" 0) will turn off all running object snaps. But you say it only happens when you UNDO? Unless your UNDO command was redefined (using autolisp again...) this is unlikely. Now if you set a running osnap, then do a couple of commands, then undo back far enough, you could be undoing the setting of the object snap also...? Are you a single operator or part of a group with a CAD manager and/or IS staff? If the latter, check with them. Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 5, 2010 Author Share Posted March 5, 2010 Thanks, but no, we're a single operator - that's why I'm here, hoping someone out there has an answer to this problem. This only happens when I "undo" - whether I'm using the "U" enter, or the undo icon, it still happens. It's not that I'm "undo"-ing back far enough to undo the setting of the osnap - the osnap is set to "on" when I open AutoCAD, so I'm definitely not undo-ing that far. This also happens to my other designer that uses AutoCAD as well. So I know it has to be something within the program itself. I guess I'll just research this LISP stuff and see what I can figure out. If anyone else has a guess, please let me know. Thanks! Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted March 5, 2010 Share Posted March 5, 2010 This only happens when I "undo" - whether I'm using the "U" enter, or the undo icon, it still happens. It's not that I'm "undo"-ing back far enough to undo the setting of the osnap - the osnap is set to "on" when I open AutoCAD, so I'm definitely not undo-ing that far. This also happens to my other designer that uses AutoCAD as well. So I know it has to be something within the program itself. I guess I'll just research this LISP stuff and see what I can figure out. If anyone else has a guess, please let me know. Thanks! So can you actually see the status bar button "disengage" during a particular "undo" command? Or do you need to figure out exactly when OSMODE is being changed? If the latter, take a look at the example here: http://cadpanacea.com/node/53 If you think this will help and are not sure how to implement, post back. Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 8, 2010 Author Share Posted March 8, 2010 Yeah, you can see it disengage itself - the osnap button just turns off. It's never when I undo just once, it has to be multiple times in a row (which is often for me!) Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 Type OSMODE at the command line and then press Enter. What is the value shown? Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 8, 2010 Author Share Posted March 8, 2010 osmode is set at 47. Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 Type UNDO at the command line now and tell us what the settings for the following are: Auto, Control, Combine and Layer. Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 8, 2010 Author Share Posted March 8, 2010 auto - on control - all combine - yes layer - yes Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 Well I had hoped that we would find something amiss with either or both of the settings I asked you to report on but no luck. Do you use any custom made routines to execute commands? Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 8, 2010 Author Share Posted March 8, 2010 Oh shoot. Well as for cutom routines, I wouldn't know how to do that. The only thing I can say is that we use 20/20 Cap software within our AutoCAD 2009. I wouldn't think that software would cause this though. Oh well, thank you so much for your help thus far. If you think of anything else, I guess let me know. I might just have to live with being annoying by this osnap thing. Thanks! Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 What is 20/20 Cap software? Quote Link to comment Share on other sites More sharing options...
ash_m Posted March 8, 2010 Author Share Posted March 8, 2010 It's a software program that has a bunch of furniture symbols for CAD drawings. I work at a contract office furniture dealership, and we use these symbols to space plan our clients' furniture. That's it - it's just furniture symbols. Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 Can we test something? Start a new drawing. Toggle your Osnaps "on". Draw 10 lines using the line command ten times in a row. Now use Undo to eliminate each line. Can you go all the way back to no lines showing without disabling Osnaps? Do NOT insert any furniture symbols in this test. Quote Link to comment Share on other sites More sharing options...
ReMark Posted March 8, 2010 Share Posted March 8, 2010 ash_m: Did you try the test I mention above or not? Quote Link to comment Share on other sites More sharing options...
katts333 Posted October 9, 2010 Share Posted October 9, 2010 I am also having the same problem. I am using AutoCAD 2010 and I use Project Matrix but it works in the same as CAP 20/20 I am using it to insert Furniture symbols from a library of 2D/3D symbols created by Project Matrix. If anyone out there knows how to fix this it would be greatly appreciated. I as previously using ACAD 2009 and it worked OK until I started using 2010 but I think it is a software switch but have had no luck finding it. I have my osnaps on, I insert a symbol and it will snap, but then when it goes to rotate, it will automatically turn off osnaps. As soon as the symbol is completely inserted, it comes back on. Quote Link to comment Share on other sites More sharing options...
Jack_O'neill Posted October 11, 2010 Share Posted October 11, 2010 I have 2007 and 2010 and could not recreate your problem in either package. I suspect it has something to do with the 3rd party software. There is a "best practices and known issues" link on the Cap 20/20 website, but since I'm not a registered user of that software it wouldn't allow me in. You might go there and take a look to see if others are having this problem. If so, the fix may be posted there. If not, you might submit it and get it fixed. 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.