PDA

View Full Version : OSNAP turns off by itself



azzro10
6th Feb 2008, 06:14 am
Every now and again, when i enter a command OSNAP turns itself off and when i try to reactivate it (F3 etc) the drafting settings dialog appears and all Snap Modes are unticked.
If anyone can help me out with this that would be great, thanks

Cad64
6th Feb 2008, 06:28 am
You're going to have to do some detective work and figure out which command is turning them off. No doubt it's a custom lisp routine that's doing this.

Alan Cullen
6th Feb 2008, 06:28 am
Are you running any lisp routines before this happens?

rkmcswain
6th Feb 2008, 02:11 pm
Every now and again, when i enter a command OSNAP turns itself off and when i try to reactivate it (F3 etc) the drafting settings dialog appears and all Snap Modes are unticked.
If anyone can help me out with this that would be great, thanks

If you are semi-familiar with lisp, here is some code you can use to alert you when a system variable has changed.

See:
http://rkmcswain.blogspot.com/2007/03/system-variables-changing-on-their-own.html

azzro10
7th Feb 2008, 01:32 am
Are you running any lisp routines before this happens?
No not running any custom lisps before it happens.
Commands i can remember it happened during are MOVE, COPYBASE and PLINE

azzro10
7th Feb 2008, 01:35 am
If you are semi-familiar with lisp, here is some code you can use to alert you when a system variable has changed.

See:
http://rkmcswain.blogspot.com/2007/03/system-variables-changing-on-their-own.html
Thanks for the link, this is a very handy lisp to have, although i can usually see when it happens. Now iv just got to wait for it to happen.

Cad64
7th Feb 2008, 01:55 am
No not running any custom lisps before it happens.
Commands i can remember it happened during are MOVE, COPYBASE and PLINE

Are you running any custom lisp routines at all? :unsure:
It has to be happening before you run those commands.
What lisp routines do you use? Something is setting your OSMODE variable to 0 and then not restoring it.

azzro10
8th Feb 2008, 03:18 am
Hey guys thanx for the help, iv actually been using autocad 2005 for the last couple of weeks n just installed 2007 this morning dont seem to have the problem at all anymore. "Fingers crossed"

Thanks anyway.

Alan Cullen
8th Feb 2008, 03:51 am
I guess that's one way to fix a problem. Just upgrade the acad version. :twisted: o:)

azzro10
8th Feb 2008, 05:02 am
I guess that's one way to fix a problem. Just upgrade the acad version. :twisted: o:)
Yeh its also one way to make a heap more too