Jump to content

Define A Blocks Object Snap


Recommended Posts

Posted

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.

Posted

as it's possible to define a button to do this, it should be possible to do it by another method too

Posted

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.

Posted

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)

Posted

We're just finishing the relevant FAQ for creating new buttons and attaching them to toolbars :thumbsup:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...