<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Choose snap setting during command for entire command? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162222#M222415</link>
    <description>&lt;P&gt;Jo&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered setting only Midpoint in your Object Snap settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/368828iD85951B4DA99DBBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;Please select the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button if my post solves your issue or answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 16:29:53 GMT</pubDate>
    <dc:creator>john.vellek</dc:creator>
    <dc:date>2017-06-19T16:29:53Z</dc:date>
    <item>
      <title>Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7161989#M222410</link>
      <description>&lt;P&gt;I would like to know if it is possible during a command to select the snap point that I want to use for the duration of the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I'm drawing a polyline and want to snap only to midpoints I shift+right click and select midpoint, but that only lasts for that click. I would like to be able to shift+right click, select midpoint (or other desired snap setting) and then be able to&amp;nbsp;draw my line using multiple clicks, snapping only to midpoints while that command is active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 15:32:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7161989#M222410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T15:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162013#M222411</link>
      <description>&lt;P&gt;That sounds like a good idea. Curious to hear from others if this is already in AutoCAD.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 15:37:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162013#M222411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162113#M222412</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;I would like to know if it is possible during a command to select the snap point that I want to use for the duration of the command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if I'm drawing a polyline and want to snap only to midpoints I shift+right click and select midpoint, but that only lasts for that click. I would like to be able to shift+right click, select midpoint (or other desired snap setting) and then be able to&amp;nbsp;draw my line using multiple clicks, snapping only to midpoints while that command is active.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I haven't thought of a way to do exactly that, but you could come sort of close....&amp;nbsp; You could build commands for specific entity types with embedded selection of Osnap mode(s) to be used for only that one running of the command, but to remain in effect through to the end of it.&amp;nbsp; Here's a Polyline command that asks you first what mode(s) you want, uses only that/those during the command, and then when you're finished, restores the prior mode(s) setting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:PLOS ; = Polyline with Osnap Setting
  (/ osm)
  (setq osm (getvar 'osmode))
  (initdia)
  (command "_.osnap")
  (command "_.pline")
  (while (&amp;gt; (getvar 'cmdactive) 0) (command pause))
  (setvar 'osmode osm)
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;It has what might be considered an advantage over what you describe, in that you can include &lt;EM&gt;more than one&lt;/EM&gt; mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:00:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162113#M222412</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-19T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162127#M222413</link>
      <description>&lt;P&gt;Easiest way is to pick on the osnap icon and uncheck any of the snap and pick only midpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the command line you can use&lt;/P&gt;
&lt;P&gt;'osmode 2&lt;/P&gt;
&lt;P&gt;Which could be easily made into a macro and added to a Shortcut Menu in the CUI.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:04:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162127#M222413</guid>
      <dc:creator>GrantsPirate</dc:creator>
      <dc:date>2017-06-19T16:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162186#M222414</link>
      <description>&lt;P&gt;Kent1Cooper, I do like the option to include potentially more than one selection for the snap during a command. You'll have to help walk me through how to use your code though. I've never used anything like this before. Curious to see how easily it is executed in my workflow.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:20:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162186#M222414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T16:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162222#M222415</link>
      <description>&lt;P&gt;Jo&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered setting only Midpoint in your Object Snap settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/368828iD85951B4DA99DBBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;Please select the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button if my post solves your issue or answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:29:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162222#M222415</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2017-06-19T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162238#M222416</link>
      <description>&lt;P&gt;Get familiar with OSMode, which can be used to set single and multiple running OSnaps, and set up a few buttons.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:32:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162238#M222416</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2017-06-19T16:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162308#M222417</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;.... You'll have to help walk me through how to use your code though. I've never used anything like this before. Curious to see how easily it is executed in my workflow.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Copy that code into a plain-text editor such as Notepad.&amp;nbsp; Save it to a file with a &lt;STRONG&gt;.LSP&lt;/STRONG&gt; filetype ending, in some known location -- you can call it whatever you want otherwise, like &lt;STRONG&gt;PlineOsnap.LSP&lt;/STRONG&gt; or something -- preferably something that will be meaningful to you next year.&amp;nbsp; In AutoCAD, type &lt;STRONG&gt;AP&lt;/STRONG&gt; [the alias for &lt;STRONG&gt;APPLOAD&lt;/STRONG&gt;], navigate to where you saved that file, and &lt;STRONG&gt;L&lt;/STRONG&gt;oad it.&amp;nbsp; Then type &lt;STRONG&gt;PLOS&lt;/STRONG&gt; [the command name is always the part following the &lt;STRONG&gt;C:&lt;/STRONG&gt; near the beginning of such command definitions].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be made a lot more sophisticated, but try out the basic version.&amp;nbsp; There's a way to have it automatically loaded in &lt;EM&gt;every&lt;/EM&gt; drawing you open or start, if you need it often enough for that, so you don't need to Load it yourself.&amp;nbsp; And a command call for it can be put into menu&amp;nbsp;items of various kinds, if you would use it enough to justify that.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:51:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162308#M222417</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-19T16:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162461#M222418</link>
      <description>&lt;P&gt;See the link for adding a macro to your setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://autode.sk/2tkq78T" target="_blank"&gt;http://autode.sk/2tkq78T&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 17:32:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162461#M222418</guid>
      <dc:creator>GrantsPirate</dc:creator>
      <dc:date>2017-06-19T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162687#M222419</link>
      <description>&lt;P&gt;You can fire the osnap dialog box in the middle of a command by selecting the little down-arrow next to the osnap button in the tool tray then selecting "Object Snap Settings". &amp;nbsp;Any changes made there will continue for the rest of the command and beyond.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="osnap.PNG" style="width: 240px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/368924i89B1FB46D2BB1974/image-size/large?v=v2&amp;amp;px=999" role="button" title="osnap.PNG" alt="osnap.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 18:46:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162687#M222419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162734#M222420</link>
      <description>&lt;P&gt;Kent1Cooper, thanks for the additional instruction. I was able to successfully create, load, and run your lisp. The only thing is that I have several osnaps selected as my default draft settings and to uncheck the majority of them to do what I'm looking for takes too much time unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GrantsPirates, I will have to look into setting up a macro as you suggest. I would want to set it to a single keyboard command to make it efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rculp, I don't want to alter my osnap settings indefinitely, as I like the way they are normally. I've just found recent situations where it would be nice to select one particular snap in the middle of a drawing command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the input from everyone.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 19:00:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162734#M222420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T19:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162988#M222421</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Kent1Cooper, thanks for the additional instruction. I was able to successfully create, load, and run your lisp. The only thing is that I have several osnaps selected as my default draft settings and to uncheck the majority of them to do what I'm looking for takes too much time unfortunately.&lt;/P&gt;
&lt;P&gt;.....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then have it &lt;FONT color="#ff0000"&gt;start with a clean slate&lt;/FONT&gt;, and you can pick just one or a few, &lt;EM&gt;without&lt;/EM&gt; needing to &lt;EM&gt;un&lt;/EM&gt;check anything:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:PLOS ; = Polyline with Osnap Setting
  (/ osm)
  (setq osm (getvar 'osmode))
  &lt;FONT color="#ff0000"&gt;(setvar 'osmode 0)
&lt;/FONT&gt;  (initdia)
  (command "_.osnap")
  (command "_.pline")
  (while (&amp;gt; (getvar 'cmdactive) 0) (command pause))
  (setvar 'osmode osm)
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 20:38:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7162988#M222421</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-19T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163025#M222422</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;this is much better. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 20:52:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163025#M222422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T20:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163110#M222423</link>
      <description>&lt;P&gt;The number in OSMODE is the sum of these from HELP:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The setting is stored as a bitcode using the sum of the following values:&lt;/P&gt;
&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NONe&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDpoint&lt;/P&gt;
&lt;P&gt;2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIDpoint&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CENter&lt;/P&gt;
&lt;P&gt;8 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NODe&lt;/P&gt;
&lt;P&gt;16&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUAdrant&lt;/P&gt;
&lt;P&gt;32&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTersection&lt;/P&gt;
&lt;P&gt;64&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INSertion&lt;/P&gt;
&lt;P&gt;128&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERpendicular&lt;/P&gt;
&lt;P&gt;256&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TANgent&lt;/P&gt;
&lt;P&gt;512&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEArest&lt;/P&gt;
&lt;P&gt;1024&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clears all object snaps&lt;/P&gt;
&lt;P&gt;2048&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APParent Intersection&lt;/P&gt;
&lt;P&gt;4096&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXTension&lt;/P&gt;
&lt;P&gt;8192&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PARallel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting OSMODE = 7 makes OSNAP = &amp;nbsp;End,Mid,Cen&lt;/P&gt;
&lt;P&gt;Setting OSMODE = 103 makes OSNAP = &amp;nbsp;End,Mid,Cen,Int,Ins&lt;/P&gt;
&lt;P&gt;Setting OSMODE = 6399 makes OSNAP = End,Mid,Cen,Node,Quad,Int,Ins,Perp,App Int,Ext&lt;/P&gt;
&lt;P&gt;If you know the number of our favorite OSMODE setting (like 6399), or maybe a cheat sheet of your favorites, they can be set using a transparent call to OSMODE by prefixing the command with an apostrophe as in &lt;STRONG&gt;‘OSMODE.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding 16384 to the current OSMODE setting turns off running OSNAPS without resetting the selection of osnaps in the dialog box.&amp;nbsp; When I use a running OSNAP, which isn’t very often it is either a specific single OSNAP (like END) or OSMODE = 6399.&amp;nbsp; So, I have a little function that resets running osnaps to my favorite:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun c:oss () (setvar "osmode" 6399)(princ))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 21:47:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163110#M222423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163129#M222424</link>
      <description>&lt;P&gt;Let me just reiterate that those OSMode values, that&amp;nbsp;@Anonymous is suggesting, can be accessed easily by adding them to your CUI with a macro.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 21:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7163129#M222424</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2017-06-19T21:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164657#M222425</link>
      <description>&lt;P&gt;See the link for adding a macro to your setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://autode.sk/2tkq78T" target="_blank" rel="nofollow noopener noreferrer"&gt;http://autode.sk/2tkq78T&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_________________________________________________________________________&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/511655"&gt;@GrantsPirate&lt;/a&gt;&amp;nbsp;this video is very helpful, thank you. I like having the option to access the command via a right-click or shift + right-click. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Two questions: When I added my custom command to the Snap Overrides menu, I cannot get it to show up on the right click menu as it does in your video. I have to either right click and then&amp;nbsp;hover over the snap overrides to bring up an additional menu that I normally get when I shft+right click, and then I can see my custom setting. If I just shift+right click though, it does not show up in that menu. Thoughts on how to get that to work in either menu so it can be accessed via one click? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second question: After using your method with my custom command my snap settings do not reset to the ones I had previously. I just have the midpoint snap available and then need to manually reset my OSMODE. Any way to make that reset automatically after overriding the snap setting?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:31:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164657#M222425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T13:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164744#M222426</link>
      <description>&lt;P&gt;Make sure you drag and drop the new command to the place I show, don't let it get dragged into the osnap overrides in the menu, place it above or below that. &amp;nbsp; It won't show with Shift right click because that brings up a different shortcut menu.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think many of us interpreted your request to have midpoint set to stay on, instead you want a one time toggle to midpoint only. &amp;nbsp;Is that accurate? &amp;nbsp;Shift+V is already set for a temp override for midpoint. While in a command, press and hold Shift+V and pick on the line, pline, etc., release and continue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164744#M222426</guid>
      <dc:creator>GrantsPirate</dc:creator>
      <dc:date>2017-06-20T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164770#M222427</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think many of us interpreted your request to have midpoint set to stay on, instead you want a one time toggle to midpoint only. &amp;nbsp;Is that accurate? &amp;nbsp;Shift+V is already set for a temp override for midpoint. While in a command, press and hold Shift+V and pick on the line, pline, etc., release and continue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like midpoint to stay on for the duration of the command and then reset back to my chosen Osnap settings. I tried Shift+V while drawing a polyline, but only get a bunch of Vs in my command line.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:00:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164770#M222427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164920#M222428</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;I would like midpoint to stay on for the duration of the command and then reset back to my chosen Osnap settings. I tried Shift+V while drawing a polyline, but only get a bunch of Vs in my command line.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Set-up another command with your settings.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:42:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7164920#M222428</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2017-06-20T14:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Choose snap setting during command for entire command?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7165053#M222429</link>
      <description>&lt;P&gt;Depending on your MBUTTONPAN setting, a mid-button&amp;nbsp;(or shift+mid-button) will pop the osnap onscreen menu (pop0), touching the letter at the keyboard that is underlined in that menu will set a one-time osnap override.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="osnap_letters.PNG" style="width: 235px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/369348i34AE5D778F21F85E/image-size/large?v=v2&amp;amp;px=999" role="button" title="osnap_letters.PNG" alt="osnap_letters.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/choose-snap-setting-during-command-for-entire-command/m-p/7165053#M222429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T15:16:05Z</dc:date>
    </item>
  </channel>
</rss>

