Is it possible to disable snapping to objects within blocks?

Is it possible to disable snapping to objects within blocks?

s.proch
Enthusiast Enthusiast
841 Views
11 Replies
Message 1 of 12

Is it possible to disable snapping to objects within blocks?

s.proch
Enthusiast
Enthusiast

Hi all. Is it possible to disable snapping onto objects (plines, circles, hatches) within block references? I thought that's what the 'Show grips within blocks' tickbox in Options does but it doesn't seem to change anything for me. Any suggestions on to how only allow snapping to the insertion point of block references? Or maybe Object Snap presets kind of thing? Something I can switch to before manipulating blocks instead of unticking all reference points to only leave Insertion point on? 

0 Likes
Accepted solutions (1)
842 Views
11 Replies
Replies (11)
Message 2 of 12

h_s_walker
Mentor
Mentor

Is this when you are inserting a block?

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 12

s.proch
Enthusiast
Enthusiast

No. When copying/moving or when I draw a polyline, for example, I only want to snap to the insertion point.

0 Likes
Message 4 of 12

h_s_walker
Mentor
Mentor

This needs to be put on a toolbar button and tested as it's been adapted from a command I created with some help from other users on here

^c^c^c_setenv;osnaps;$m=$(getvar,osmode);setvar "osmode" 64;\;;setvar;osmode;"$m=$(getenv,osnaps)"

What it does is gets your original osnap settings and saves them. It then changes to the insertion snap point and "hopefully" waits for some input from you before it sets the snaps back to what they were before. 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 5 of 12

s.proch
Enthusiast
Enthusiast

I will have a go. Thank you!

0 Likes
Message 6 of 12

s.proch
Enthusiast
Enthusiast

Unfortunately, It does not switch back to the initial settings. Also, the first command I type in doesn't go through. Sending a screenshot. 

0 Likes
Message 7 of 12

h_s_walker
Mentor
Mentor

\ is the command in the macro to pause for user input, also try taking out one of the semicolons before the second setvar

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 8 of 12

s.proch
Enthusiast
Enthusiast

I deleted one semicolon and tried again. This time, the polyline command works but starts at the same point where my last polyline ended. And the snap settings still don't go back to normal. Also, I don't know how to change the pause for user input. How do I check?

0 Likes
Message 9 of 12

h_s_walker
Mentor
Mentor

The "\" symbol in the macro tells the command to pause for user input.

I would have to do some more research.

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 10 of 12

j.palmeL29YX
Mentor
Mentor
Accepted solution

@s.proch wrote:

I only want to snap to the insertion point.


If you have a lot of running Osnaps active, use a Temporary Override. 

 

Temporary override.png

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 11 of 12

s.proch
Enthusiast
Enthusiast

Thanks a lot for this suggestion. I deleted the SHIFT from Toggle Orthogonal Mode as it already has an F8 key and set up SHIFT for the Insertion point override. This is precisely what I was looking for, thanks!

0 Likes
Message 12 of 12

s.proch
Enthusiast
Enthusiast

I did some research myself and tried some edits to the macro. This subject is unfortunately far beyond my skills. If you do find a way to fix this I am interested to see how. For now, I only accepted @j.palmeL29YX 's solution as it seems to be the quickest way to solve my issue but I am open to anything.

0 Likes