as it's possible to define a button to do this, it should be possible to do it by another method too
Registered forum members do not see this ad.
I was wondering if there is a way to define a particular block's object snap? I have block that I need to snap "near" a wall every time it's inserted and I would like to redefine the block where that snap is "near" when I insert it instead of typing near every single time.
Thanks for any information.
That is adventurous! I like it. I don't know how to make a button command. If I understand you correctly you want to click a custom button that is not just INSERT, but INSERT-NEAR-TO.
Is that correct? At first I thought you were taking about the block's insertion point.
Until you get a better suggestion, you can hold down SHIFT and RIGHT-CLICK. This brings up a snap overrides option.
Then type "R" for nearest. Quicker than typing NEAR every time.
If using a button then make the code set your snap mode then do insert
^c^c(setvar "Osmode" 512) insert myblock etc (setvar "osmode" 39)