Snap to Hatch

Snap to Hatch

zleapple
Explorer Explorer
16,473 Views
5 Replies
Message 1 of 6

Snap to Hatch

zleapple
Explorer
Explorer

Even after changing "OSOPTIONS" system variable, AutoCAD still won't snap to a hatch corner. Suggestions? 

 

Command line process:

 

Command: OSOPTIONS
Enter new value for OSOPTIONS <7>: 2
Command: REGEN

 

Knowledge topics:

https://knowledge.autodesk.com/support/autocad-for-mac/learn-explore/caas/CloudHelp/cloudhelp/2022/E...

 

https://help.autodesk.com/view/ACDMAC/2020/ENU/?guid=GUID-0D05BECE-0DC3-454D-999A-208C6DBC3C3E 

(even though my version's default is 7, this says 3)

 

Version: Autocad for Mac 2022

0 Likes
Accepted solutions (1)
16,474 Views
5 Replies
Replies (5)
Message 2 of 6

maxim_k
Consultant
Consultant

Welcome to Autodesk Forums!

 

Hi @zleapple ,

 

Please check undocumented OSNAPHATCH system variable. It should be 1 when you set OSOPTIONS=2 or OSOPTIONS=0

Command: OSNAPHATCH
Enter new value for OSNAPHATCH <1>:
Command:

 

>>>>>>even though my version's default is 7, this says 3

I don't know why, but AutoCAD for Mac online Help doesn't mention one more bit code for OSOPTIONS - 4 (Object snaps ignore endpoints of dimension extension lines). Check out this help topic for AutoCAD for Windows:

https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-0D05BECE-0DC3-454D-999A-208C6DBC3C3E

 

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 3 of 6

zleapple
Explorer
Explorer

Thanks for the reply @maxim_k . OSNAPHATCH system variable was already set a 1. And tried again OSOPTIONS=2 or OSOPTIONS=0 but no luck. Interesting.

0 Likes
Message 4 of 6

maxim_k
Consultant
Consultant

Hi @zleapple 

 

>>>>>AutoCAD still won't snap to a hatch corner.

 

Can you illustrate which corner of the hatch you can't snap to?

Please share screenshot or screencast.

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 5 of 6

zleapple
Explorer
Explorer

@maxim_k Sure! Attached you see the system variables and the hatch itself. The first screen shot is showing the snap not working correctly. 

 

Screen Shot 2022-03-04 at 8.48.02 AM.pngScreen Shot 2022-03-04 at 8.48.44 AM.pngScreen Shot 2022-03-04 at 8.49.14 AM.png 

0 Likes
Message 6 of 6

maxim_k
Consultant
Consultant
Accepted solution

Hi @zleapple ,

 

As I see from your screenshot, you are trying to use object snap to Hatch object boundary , but tis is not possible.

When OSNAPHATCH=1, you can snap to the elements that form the Hatch object (lines).

 

In your case you want to snap to the Hatch object boundary with Solid hatch pattern and this is not possible in AutoCAD.

To be able to snap to Hatch boundary, you need to recreate the boundary with HATCHEDIT command -> RECREATE BOUNDARY button on Hatch Edit window.

Or with "Create boundary" button on Hatch Visor (you need to select Hatch object:

2022-03-04_18-08-30.png

 

When the new boundary will be created, you can use Object Snap to snap to it.

 

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community