Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Getting OSOPTIONS to snap to intersections

$
0
0

I was playing with AutoCAD today to improve performance until AMD releases updated drivers for AutoCAD 2015 and I seem to have broken the OSOPTIONS system variable.

We normally have the OSOPTIONS system variable set to "2" (only ignoring negative Z values).  It is occasionally useful to snap to a hatch pattern, but I changed the OSOPTIONS system variable to "3" to ignore hatches for now because passing over a hatch mid-command bogs the computer down for many seconds, sometimes over a minute.

Tiring of switching back and forth today, I added this to my startup LISP so I could toggle quickly back and forth:
(DEFUN C:HS ()(if (= 3 (getvar "OSOPTIONS"))(setvar "OSOPTIONS" 2)(setvar "OSOPTIONS" 3))(PRINC))

However, now when I try to set it back to no longer ignore hatch objects, the osnaps for midpoints and endpoints are the only ones that show up -- none for intersections or any other snaps anymore.

I tried setting it to the default of 7 and also 0 before resetting it back to 2.  I tried going through the options dialog to change it back that way, but still it won't snap to intersections anymore.  My Object Snap options show intersections checked and intersections for non-hatches still work (see attachments below).

Is there a way to reset this back to how it's supposed to be?


Viewing all articles
Browse latest Browse all 14319

Trending Articles