<?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: Change default command behaviour, eg always Rotate Reference instead of just in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408568#M91849</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1092502"&gt;@Haider_of_Sweden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/43171"&gt;@scot-65&lt;/a&gt;&amp;nbsp;, I think I agree with you to keep the original commands non-&lt;SPAN&gt;UNDEFINE:ed so that I can access the original ones by typing their full names any time I need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know this topic has "moved on," but just for people's information:&amp;nbsp; You can still use the original command definitions, &lt;EM&gt;even if they have been UNDEFINEd&lt;/EM&gt;, so it's not important to avoid doing that.&amp;nbsp; Type in the command name or even just its command alias &lt;STRONG&gt;preceded by a period/decimal&lt;/STRONG&gt;, which forces the use of the native command definition, getting around any undefinition/redefinition you may have defined.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 12:25:47 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2022-09-08T12:25:47Z</dc:date>
    <item>
      <title>Change default command behaviour, eg always Rotate Reference instead of just Rot</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8636700#M91837</link>
      <description>&lt;P&gt;How can I change default behaviours of commands, for example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rotate command: I mostly use rotate &lt;STRONG&gt;reference&lt;/STRONG&gt; instead of just rotate. Therefore I would like to have reference as default.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Scale command: Same as above, mostly scale &lt;STRONG&gt;reference&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mirror command: I mostly use pick erase source object 'Y'. Therefore I would like to have the default set as 'Y' instead of 'N'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought editing the Program Parameters (PGP) file might be the solution, but it wasn't. How can this be solved?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:30:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8636700#M91837</guid>
      <dc:creator>Haider_of_Sweden</dc:creator>
      <dc:date>2019-03-05T09:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8637174#M91838</link>
      <description>&lt;P&gt;You could create an AutoLISP function for a given AutoCAD command that has the same name as the AutoCAD command, duplicates the AutoCAD prompts and feeds the results to the AutoCAD command, tweaking any prompts/defaults to suit your needs.&amp;nbsp; You can UNDEFINE the AutoCAD command and load the AutoLISP function to replace it.&amp;nbsp; If you put the UNDEFINE and loading statements in the first acaddoc.lsp file found on your search path, the altered version of the command will be swapped in every time you open a file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use the AutoLISP Command function to feed the prompt results, be certain to precede the name of the AutoCAD command with a period (".") so that AutoCAD uses the actual command definition, and does not try to use the redefined AutoLISP version.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 13:25:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8637174#M91838</guid>
      <dc:creator>David_W_Koch</dc:creator>
      <dc:date>2019-03-05T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8637382#M91839</link>
      <description>&lt;P&gt;As David has said, put something like this in an acaddoc.lsp&amp;nbsp;file or have it loaded as part of your startup suite.&amp;nbsp; The file will need to be in a trusted folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;;--Rotate relative command substitution&lt;/P&gt;
&lt;P&gt;(COMMAND "_.undefine" "_rotate")&lt;BR /&gt;(defun&amp;nbsp;c:rotate&lt;BR /&gt;(/ ss)&lt;BR /&gt;(AND (SETQ ss&lt;BR /&gt;(IF&lt;BR /&gt;(NOT (AND (= 1 (GETVAR "pickfirst")) (SETQ ss (SSGET "i"))))&lt;BR /&gt;(PROGN (SSSETFIRST) (SSGET))&lt;BR /&gt;ss&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;(SETQ bp (GETPOINT "\nSpecify base point: "))&lt;BR /&gt;(COMMAND "_.rotate" ss "" bp "r")&lt;BR /&gt;)&lt;BR /&gt;(PRINC)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 14:37:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8637382#M91839</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2019-03-05T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8641593#M91840</link>
      <description>I will slightly disagree about redefining a built-in command.&lt;BR /&gt;Instead, create a utility that suits your needs and assign it a unique keystroke&lt;BR /&gt;(meaning cross-reference to the PGP and cancel out the declaration in the PGP).&lt;BR /&gt;Once the keystroke is defined as a LSP, one can populate the UI areas in the CUIX.&lt;BR /&gt;&lt;BR /&gt;For Rotate Reference, I have the keystroke "RTR".&lt;BR /&gt;As part of this utility, ORTHOMODE is checked for and turned off.&lt;BR /&gt;&lt;BR /&gt;"SCR" ?&lt;BR /&gt;&lt;BR /&gt;"MRR" ?&lt;BR /&gt;&lt;BR /&gt;One should consider custom utilities to have at least a 3-character name.&lt;BR /&gt;The 1- and 2-character keystrokes should be reserved for the PGP.&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Mar 2019 23:53:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8641593#M91840</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2019-03-06T23:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644893#M91841</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12950"&gt;@David_W_Koch&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/43171"&gt;@scot-65&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It totally makes sense to create new custom commands that do what I need them to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/43171"&gt;@scot-65&lt;/a&gt;&amp;nbsp;, I think I agree with you to keep the original commands non-&lt;SPAN&gt;UNDEFINE:ed so that I can access the original ones by typing their full names any time I need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your opinion, should I name the lisp-commands something short, or should I use short aliases to point them to the lisp-command?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 08:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644893#M91841</guid>
      <dc:creator>Haider_of_Sweden</dc:creator>
      <dc:date>2019-03-08T08:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644936#M91842</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;;;--Rotate relative command substitution&lt;/P&gt;
&lt;P&gt;(COMMAND "_.undefine" "_rotate")&lt;BR /&gt;(defun&amp;nbsp;c:rotate&lt;BR /&gt;(/ ss)&lt;BR /&gt;(AND (SETQ ss&lt;BR /&gt;(IF&lt;BR /&gt;(NOT (AND (= 1 (GETVAR "pickfirst")) (SETQ ss (SSGET "i"))))&lt;BR /&gt;(PROGN (SSSETFIRST) (SSGET))&lt;BR /&gt;ss&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;(SETQ bp (GETPOINT "\nSpecify base point: "))&lt;BR /&gt;(COMMAND "_.rotate" ss "" bp "r")&lt;BR /&gt;)&lt;BR /&gt;(PRINC)&lt;BR /&gt;)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thank you for your script. Could you please help me develop it further?&lt;/P&gt;
&lt;P&gt;Currently it works like this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;run command&lt;/LI&gt;
&lt;LI&gt;pick object (if its picked already, we encounter a problem which I will mention below)&lt;/LI&gt;
&lt;LI&gt;pick basepoint&lt;/LI&gt;
&lt;LI&gt;Since the LISP picked R for me already, it now expects me to pick a basepoint again.&lt;/LI&gt;
&lt;LI&gt;pick endpoint and destination&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;At 4, I would like the basepoint to be the same as the point picked at 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, we had this problem when the object is already selected has vertices. Often, you want to pick where the edges are and hence, there is a vertex.&lt;/P&gt;
&lt;P&gt;Can we disable/hide vertices during the command?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 09:03:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644936#M91842</guid>
      <dc:creator>Haider_of_Sweden</dc:creator>
      <dc:date>2019-03-08T09:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644951#M91843</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1092502"&gt;@Haider_of_Sweden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;..., should I name the lisp-commands something short, or should I use short aliases to point them to the lisp-command?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I use a lot of shortcuts, inc. reference rotate, see below. For these simple LISPs I prefer to&amp;nbsp;use just short names directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But for more complex&amp;nbsp;LISPs I prefer to use long more descriptive names with short aliases. With searchable command-line it's easier to find it even if you don't know the exact name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My version is: /really old and simple/&lt;/P&gt;
&lt;PRE&gt;(defun c:O () ; Rotate with 3 points
  (command "_select" pause)
  (command "_rotate" "_p" "" pause "_r" "@" pause pause)
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 09:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8644951#M91843</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-03-08T09:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8646099#M91844</link>
      <description>&lt;P&gt;The reason that I didn't assume that your base point would be the first point of the reference angle is that quite often in my work, the reference angle pick points do not include the base point.&amp;nbsp; Entering the&amp;nbsp;@ symbol will pick the point if that helps or you could just add "@" after the "r" in my command.&lt;/P&gt;
&lt;PRE&gt;(COMMAND "_.undefine" "_rotate")
(DEFUN c:rotate	(/ ss)
  (AND (SETQ ss
	      (IF
		(NOT (AND (= 1 (GETVAR "pickfirst")) (SETQ ss (SSGET "i"))))
		 (PROGN (SSSETFIRST) (SSGET))
		 (PROGN (SSSETFIRST) ss)
		 )
	     )
       (SETQ bp (GETPOINT "\nSpecify base point: "))
       (COMMAND "_.rotate" ss "" bp "r" "@")
       )
  (PRINC)
  )&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:56:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8646099#M91844</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2019-03-08T16:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8646849#M91845</link>
      <description>&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1092502"&gt;@Haider_of_Sweden&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;One method to consider:&lt;BR /&gt;&lt;BR /&gt;The custom lisp commands shall be 3 or more characters - (defun c:ABC (/)...&lt;BR /&gt;Why?&lt;BR /&gt;Reserve 1- and 2-character commands for the PGP -or- AutoCAD commands&lt;BR /&gt;with one option selected (I call this "enhanced PGP"). For your situation,&lt;BR /&gt;you wish to use the one option method, but logically Rotate Reference would&lt;BR /&gt;lend itself to be command "RTR" or possibly "RR".&lt;BR /&gt;&lt;BR /&gt;The file name should be long-descriptive and contain the command name.&lt;BR /&gt;Why?&lt;BR /&gt;If one compresses into a FAS, the command name may not be apparent on load.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;LLISP is the command I use to load a lisp located in the current directory.&lt;BR /&gt;The file name is "LoadLisp_LLISP.fas&lt;BR /&gt;One can also do "LLISP_LoadLisp.fas&lt;BR /&gt;In acaddoc.lsp [or eq.], declare the load (I do not use autoload, but look into it)&lt;BR /&gt;&lt;BR /&gt;(defun c:LLISP () (if (load "LoadLisp_LLISP" nil) (c:LLISP)) (princ)) ;load a LSP/FAS file&lt;BR /&gt;&lt;BR /&gt;If one wishes to shorten the keystroke, consider this:&lt;BR /&gt;(defun c:LL () (c:LLISP)) ;alias for LLISP&lt;BR /&gt;&lt;BR /&gt;Once keystroke declarations are added, it is easy to populate the UI areas&lt;BR /&gt;inside the CUIX for those who struggle typing with their thumbs on the&lt;BR /&gt;sacred desktop keyboard.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2019 23:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/8646849#M91845</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2019-03-08T23:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just Rot</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11407667#M91846</link>
      <description>&lt;P&gt;I feel the same way about the rotate command. The way it's set up as default really isn't conducive to fluid &amp;amp; efficient workflow imo. I find having to redefine the centre of rotation after specifying r for rotate reference particularly annoying/ unnecessary. So thanks for the various scripts all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With &lt;STRONG&gt;mirror&lt;/STRONG&gt;, ideally I'd like to lose the "delete source object yes/no" prompt after executing the command. I'd like to be able to customise "delete source object yes/no" in the command line before executing the mirror command, with the default set to "delete source object&amp;gt;no". I'd like autocad to hold my preference from last use of the command so if for some reason I need to execute a run of mirror commands deleting source objects this will be enabled with optimal efficiency and minimum clicks.&amp;nbsp; Is this possible in autocad? It is in Rhino...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 05:33:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11407667#M91846</guid>
      <dc:creator>hughecchapman</dc:creator>
      <dc:date>2022-09-08T05:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just Rot</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408087#M91847</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11891759"&gt;@hughecchapman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;With &lt;STRONG&gt;mirror&lt;/STRONG&gt;, ideally I'd like to lose the "delete source object yes/no" prompt after executing the command. I'd like to be able to customise "delete source object yes/no" in the command line before executing the mirror command, with the default set to "delete source object&amp;gt;no". I'd like autocad to hold my preference from last use of the command so if for some reason I need to execute a run of mirror commands deleting source objects this will be enabled with optimal efficiency and minimum clicks.&amp;nbsp; Is this possible in autocad? It is in Rhino...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks God it's possible in Rhino...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:Mirror+ ( / s p)
  
  (princ "\nMIRROR: ")
  (if (and (setq s (ssget "_:L"))
	   (progn
	     (while (progn
		      (princ (strcat "\nCurrent setting of 'Erase source objects?': " (if *mr-del* "Yes" "No")))
		      (initget "Erase")
		      (setq p (getpoint (strcat "\nSpecify first point of mirror line [Erase toggle]: ")))
		      (if (= 'STR (type p))
			(progn (setq *mr-del* (not *mr-del*)) t))))
	     p)
	   )
    (command "_.mirror" s "" "_non" p pause (if *mr-del* "Yes" "No")))
  (princ)
  )
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:06:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408087#M91847</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2022-09-08T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just Rot</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408435#M91848</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;....&lt;BR /&gt;  (or *mr-del*
      (setq *mr-del* nil))
....
&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That seems extraneous to me.&amp;nbsp; If the variable &lt;EM&gt;exists&lt;/EM&gt;, (or) is satisifed, so do nothing.&amp;nbsp; If it &lt;EM&gt;doesn't&lt;/EM&gt; exist, set it to nil, that is, &lt;EM&gt;if it doesn't exist, make it not exist&lt;/EM&gt;.&amp;nbsp; But if it doesn't exist [if the first argument to the (or) function returns nil], then it's &lt;EM&gt;already&lt;/EM&gt; nil, so there's no need to set it that way.&amp;nbsp; [&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;EDIT:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt; The above has now been removed from the code in Message 11.]&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:18:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408435#M91848</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-09-08T12:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change default command behaviour, eg always Rotate Reference instead of just</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408568#M91849</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1092502"&gt;@Haider_of_Sweden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/43171"&gt;@scot-65&lt;/a&gt;&amp;nbsp;, I think I agree with you to keep the original commands non-&lt;SPAN&gt;UNDEFINE:ed so that I can access the original ones by typing their full names any time I need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know this topic has "moved on," but just for people's information:&amp;nbsp; You can still use the original command definitions, &lt;EM&gt;even if they have been UNDEFINEd&lt;/EM&gt;, so it's not important to avoid doing that.&amp;nbsp; Type in the command name or even just its command alias &lt;STRONG&gt;preceded by a period/decimal&lt;/STRONG&gt;, which forces the use of the native command definition, getting around any undefinition/redefinition you may have defined.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:25:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-default-command-behaviour-eg-always-rotate-reference/m-p/11408568#M91849</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-09-08T12:25:47Z</dc:date>
    </item>
  </channel>
</rss>

