I've created a custom tool palette and have added individual Osnaps to it.
For example:
Osnap Endpoint - ^C^C_OSNAP end
Then another one
Osnap Mid Point - ^C^C_OSNAP mid
Then another one
Osnap Nearest - ^C^C_OSNAP near
Etc. Etc.
Question: Is there a way to be drawing a line with say only the "end point" snap set, and while still in the running line command, be able to select my tool palette button for "mid point" that sets my osnap to mid point (without it causing my running line command to close).
I'd like to able to click on my custom tool palette Osnap buttons as I need them without ending whatever running command I'm using everytime I click on a different button.
Is there a way to do this, like by holding down the shift key and selecting the button or something like that?
Solved! Go to Solution.
Solved by GrantsPirate. Go to Solution.
Do you know you can do SHIFT+RIGHT CLICK and get an osnap menu?
As for the tool palettes, have you tried using SETVAR instead?
(setvar "osmode" 1) will enable the endpoint osnap.
I'm not familiar with using the setvar command.
I'm just wanting to know if there is a way to use my Tool Palette buttons without them canceling-out my running command when I select them.
The SHIFT+RIGHT CLICK and dealing with the osnap menu and then closing it is to much for what I want to do, If I can just click on a tool palette button that switches the osnap to what I want at that moment and can continue my command until I switch to a different osnap by just slecting the button is what I'd like to achieve.
@Anonymous wrote:I'm not familiar with using the setvar command.
I'm just wanting to know if there is a way to use my Tool Palette buttons without them canceling-out my running command when I select them.
Try using the setvar example I posted. Does it work?
Once you pick the osnap the menu will close. No extra steps. SHIFT+Tool Palette click is ok, but SHIFT+Right Click is too much of a problem?
@Anonymous wrote:
The SHIFT+RIGHT CLICK and dealing with the osnap menu and then closing it is to much for what I want to do, If I can just click on a tool palette button that switches the osnap to what I want at that moment and can continue my command until I switch to a different osnap by just slecting the button is what I'd like to achieve.
The ^C^C cancels your current command, all you need for the macro is
MID
or
END
and so on.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
Figured it out, get rid of the ^C^C and add the transparent command code'
@Anonymous wrote:
Figured it out, get rid of the ^C^C and add the transparent command code'
There are differences worth noting between GrantsPirates's suggestion [just plain MID, END, etc.] and the approach explicitly using 'OSNAP [you'll have to choose which works better for you]:
1) Using END, MID, etc. in mid-command, the specified mode will apply for the next point selection, but any current running Osnap mode settings will be left unaffected for subsequent points, whereas the 'OSNAP way will change the Osnap mode setting [if it isn't already the same] to just that one mode, for all subsequent point selections [until set differently again], clearing any other mode(s) that you may have had set. The latter sounds more like your description at the end of message 3.
2) Using END, MID, etc. will work within a command, but will not be accepted outside of one, at the Command: prompt [in fact, depending on your version, some mode abbreviations and/or spelled-out words will trigger commands], whereas the 'OSNAP way will function, and have the same effect, either inside or outside another command.
ALSO: Speaking of possible multiple running Osnap modes, there is a way to have a menu item toggle in or out a specific mode, to switch it on or off [whatever it isn't currently], without affecting any other modes that are set. So, for instance, you could have an Endpoint toggle that would change whether or not running Endpoint is on, but not change the state of any other mode(s). In your situation, if Endpoint is not on and you want it to be, such a toggle would add it to the mix, but you would still have other modes available. Write back if you want to know how to do it that way.
Can't find what you're looking for? Ask the community or share your knowledge.