WPerciful Posted June 8, 2015 Posted June 8, 2015 I'm not sure why but my object snap turns itself on. This happens when new drawings load, between commands and when I go from drawing to drawing. It's the insertion snap that turns on. Also the grid snap turns itself off when new drawings load, between commands and when I go from drawing to drawing. I'm running Autocad 2014. Quote
rkmcswain Posted June 8, 2015 Posted June 8, 2015 Sounds like you have some startup code running or you're running a lisp routine that is changing the OSMODE sysvar. AutoCAD 2016 includes a feature that can alert you when things like this change. In earlier versions, you need some 3rd party code like this: http://cadpanacea.com/wp/?p=971 to help you isolate what is doing this for you. Quote
WPerciful Posted June 8, 2015 Author Posted June 8, 2015 The only lisp runing is mine. (defun tnlist (tbname / tdata tblist ) ; ; Maximizing AutoCAD: Inside AutoLISP Volume II ; ISBN: 0-934035-98-9 ; Page: 7-10 ; (while (setq tdata (tblnext tbname (not tdata))) (setq tblist (append tblist (list (dxf 2 tdata)))) ) ) (if (member "PID_Border" (tnlist "block")) (progn (setvar "osmode" 0) (setvar "snapmode" 1) (princ "\nObject snap has been turned off. ") (princ "\nGrid snap has been turned on. ") ) ) Quote
BIGAL Posted June 8, 2015 Posted June 8, 2015 You can autoload lisps in many different ways so it still points to a loaded lisp, like SS:STARTUP, was your Autocad install done by you or by someone else Cad manager ? Type LSP and look for something by name that does not look like a Autocad function. 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.