Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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. ")
)
)

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...