Working with hatch sometimes disables Snap settings

Working with hatch sometimes disables Snap settings

Anonymous
Not applicable
1,560 Views
9 Replies
Message 1 of 10

Working with hatch sometimes disables Snap settings

Anonymous
Not applicable

I have had a recurring issue with object snaps turning off in drawings. I have a certain set of object snaps that I use all the time. I either enable them or disable them with F3. The issue is that they are disabling on their own and when I press F3 to turn them back on I am automatically brought to the Object Snaps tab on the Drafting Settings window with all modes being unchecked. I then have to go through and check each one individually. I have no indication that it is based on any specific drawing. I have been able to determine that it is somehow caused by editing hatches. Every time it happens, some type of edit to a hatch boundary was the previous operation. I saw a similar thread here:

 

http://forums.autodesk.com/t5/autocad-2013-2014-2015-2016/object-snap-keeps-turning-off/m-p/5514344/...

 

The difference in my case is that it is not happening on file openings and the solution provided does not apply as we do not use any add-ons. Our AutoCAD is just as it was downloaded from the website. Software is AutoCAD 2016.

Any ideas?

 

0 Likes
Accepted solutions (1)
1,561 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable

As a band-aid you can create a button that sets the OSMODE to whatever # you want. This way whenver your osnaps are cleared, you can always just click on the button to reset the OSMODE back to the osnaps you have preset before.

 

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store

0 Likes
Message 3 of 10

Anonymous
Not applicable

I am having this exact same problem with Autocad Architecture 2016 and it only happens with hatch related activities.  It does not look like there was a fix posted here.  Did you figure something out to fix this? 

0 Likes
Message 4 of 10

nrz13
Advisor
Advisor

I experience this bug frequently, but have not tied it to one specific behavior, although we do work with hatches a lot.  I use a LISP routine to reset mine when needed, but a button works too, as suggested above.

After you have your settings how you want them, type OSMODE.  The number showing is your specific settings.  Then the LISP syntax is:

(DEFUN C:OR ()(COMMAND "OSMODE" "####")(PRINC))

where OR (osnap reset) is whatever you want to enter to run the command and #### is whatever AutoCAD reports as your OSMODE setting.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 5 of 10

Anonymous
Not applicable
Thanks, I will keep this in mind the next time it goofs and up and see what works the best.
0 Likes
Message 6 of 10

Anonymous
Not applicable

Thanks for the suggestions. I have zero familiarity with LISP so I guess I'll figure out how to set up a button somewhere.

0 Likes
Message 7 of 10

Anonymous
Not applicable
Any guidance on exactly how to do this? I know how to get to the CUI and create a new button, but I'm not sure how to tell the button to go to OSMODE: 5183
0 Likes
Message 8 of 10

sthompson1021
Advisor
Advisor
Accepted solution

Go to the cui, create new command enter this macro   ^C^C-setvar;OSMODE;5183   pick your button.

Message 9 of 10

pendean
Community Legend
Community Legend
Message 10 of 10

Anonymous
Not applicable
Thanks gents. Got it done and works wonders!
0 Likes