<?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: Creating a Move/Copy/Rotate/Mirror Command in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876481#M67423</link>
    <description>&lt;P&gt;See &lt;A href="http://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-484774B4-8F67-4E19-8647-83A7D314782B" target="_blank" rel="noopener"&gt;&amp;gt;this&amp;lt;&lt;/A&gt;, and look at the "Related" categories at the bottom.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 21:17:08 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2020-11-17T21:17:08Z</dc:date>
    <item>
      <title>Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876401#M67420</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm looking to create a command or tool similar to the express tool command Move/Copy/Rotate/(scale), but instead of being able to scale the object I'd like to be able to Mirror the object. I'm using AutoCAD 2021 and am VERY green to this sort of customization. Any info helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;TB.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:45:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876401#M67420</guid>
      <dc:creator>t.brezinsky</dc:creator>
      <dc:date>2020-11-17T20:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876411#M67421</link>
      <description>&lt;P&gt;Assuming some grip location is appropriate as a basis for Move or Copy displacement and/or Rotation base and/or Mirror axis, are you aware that you can do all that with &lt;STRONG&gt;grip-editing&lt;/STRONG&gt;, without the need for any command at all, whether native or custom?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:50:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876411#M67421</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-11-17T20:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876430#M67422</link>
      <description>&lt;P&gt;I was not aware of that and I'm not sure what grip-editing is.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876430#M67422</guid>
      <dc:creator>t.brezinsky</dc:creator>
      <dc:date>2020-11-17T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876481#M67423</link>
      <description>&lt;P&gt;See &lt;A href="http://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-484774B4-8F67-4E19-8647-83A7D314782B" target="_blank" rel="noopener"&gt;&amp;gt;this&amp;lt;&lt;/A&gt;, and look at the "Related" categories at the bottom.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 21:17:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876481#M67423</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-11-17T21:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876510#M67424</link>
      <description>&lt;P&gt;Well that was rather easy. Thanks for your help. Just back to my original question.. Is something like that able to be done and work like the express tool move/copy/rotate?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 21:26:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9876510#M67424</guid>
      <dc:creator>t.brezinsky</dc:creator>
      <dc:date>2020-11-17T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9877451#M67425</link>
      <description>&lt;P&gt;The express command uses a arx but there is a another close to it and by Autodesk. You could possibly patch that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It may be the original idea looking at 1990.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;;;;   provides two new commands, MoveRot and CopyRot
;;;   Copyright (C) 1990 by Autodesk Australia Pty. Ltd.
;;;  
;;;   Permission to use, copy, modify, and distribute this software and its
;;;   documentation for any purpose and without fee is hereby granted.  
;;;
;;;   THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. 
;;;   ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF 
;;;   MERCHANTABILITY ARE HEREBY DISCLAIMED.
;;; 
;;;-------------------------------------------------------------------------
;;; DESCRIPTION:
;;;
;;;   Mcr.Lsp provides two new commands, MoveRot and CopyRot.
;;;   MoveRot, MOVEs and ROTATEs selected entities whilst
;;;   CopyRot, COPYies and ROTATEs selected entities.
;;;
;;;   Written by  Sam Crupi, Autodesk Australia Pty. Ltd.
;;;               October 1987
;;;   Modified by Jeff De Silva &amp;amp; Sam Crupi, Autodesk Australia Pty. Ltd.
;;;               November 1990
;;;
;;;   Version 1.0
;;;   4 December 1990
;;;
;;;-------------------------------------------------------------------------
;;;
;;; Error function
;;;
(defun mcr_err (s)                   ; If an error (such as CTRL-C) occurs
   ; while this command is active...
   (if (/= s "Function cancelled") 
      (if (= s "quit / exit abort") 
         (princ) 
         (princ (strcat "\nError: " s))
      )
   ) 
   (if mcr_oer                        ; If an old error routine exists
      (setq *error* mcr_oer)           ; then, reset it 
   ) 
   (if mcr_oce                        ; Reset command echoing on error
      (setvar "cmdecho" mcr_oce)
   ) 
   (princ)
) 
;;;
;;; Command MoveRot
;;;
(defun c:MoveRot (/ sset mcr_oce mcr_oer) 
   (setq mcr_oce (getvar "cmdecho"))  ; save cmdecho setting
   (setvar "cmdecho" 0)               ; turn cmdecho off
   (if *error*                        ; Set our new error handler
      (setq mcr_oer *error* 
      *error* mcr_err)
      (setq *error* mcr_err)
   ) 
   (princ (strcat "\nMoveRot, Version " mcr_ver 
      ", (C) 1990 by Autodesk Australia Pty. Ltd. "
   )
) 
(if (setq sset (ssget))            ; get selection set
   (progn
      (setvar "cmdecho" 1)           ; turn cmdecho on to allow MOVE
      ; prompts to appear
      (command "MOVE" sset "" pause pause) ; MOVE them
      ;; now ROTATE the selection set using the LASTPOINT as Base point
      (command "ROTATE" sset "" (getvar "LASTPOINT") pause) 
   )
)
(setvar "cmdecho" mcr_oce)         ; reset cmdecho to old setting
(if mcr_oer                        ; If an old error routine exists
   (setq *error* mcr_oer)          ; then set it back
) 
(princ)
) 
;;;
;;; Command CopyRot
;;;
(defun c:CopyRot (/ mcr_oce mcr_oer sset) 
(setq mcr_oce (getvar "cmdecho"))  ; save cmdecho setting
(setvar "cmdecho" 0)               ; turn cmdecho off
(if *error*                        ; Set our new error handler
   (setq mcr_oer *error* 
   *error* mcr_err)
   (setq *error* mcr_err)
) 
(princ (strcat "\nCopyRot, Version " mcr_ver 
   ", (C) 1990 by Autodesk Australia Pty. Ltd. "
)
) 
(if (setq sset (ssget))            ; get selection set
(progn
   (command "COPY" sset "" "0,0" "0,0") ; COPY selection set over itself
   (setvar "cmdecho" 1)           ; turn cmdecho on to allow MOVE
   ; prompts to appear
   (command "MOVE" "p" "" pause pause) 
   (redraw)                       ; Redraw screen
   ;; now ROTATE the selection set using the LASTPOINT as Base point
   (command "ROTATE" "p" "" (getvar "LASTPOINT") pause)
)
)
(setvar "cmdecho" mcr_oce)         ; reset cmdecho to old setting
(if mcr_oer                        ; If an old error routine exists
(setq *error* mcr_oer)          ; then set it back
) 
(princ)
) 
;;;
;;; Define the c: functions.
;;;
(defun c:MR () 
(c:MoveRot)
) 
(defun c:CR () 
(c:CopyRot)
) 
(setq mcr_ver "1.0")                 ; set version number string
(princ (strcat "\nC:MCR (v" mcr_ver ") loaded.")) 
(princ 
"\nMR or MoveRot to Move and Rotate, CR or CopyRot to Copy and Rotate.") 
(princ) 
&amp;#26;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;IT&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 08:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9877451#M67425</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-11-18T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9877813#M67426</link>
      <description>&lt;P&gt;No way to edit MOCORO anyhow.&lt;/P&gt;
&lt;P&gt;Why you're using that command? What's the advantage of its usage? The reason I am asking is, that we may recommend you some other way to achieve that. Personally, I never found this command useful. It's too cumbersome for me.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 11:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9877813#M67426</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-11-18T11:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9878002#M67427</link>
      <description>&lt;P&gt;[Some of the Express Tools are defined in .lsp files, so I was thinking maybe it would be possible to edit MOCORO to add a Mirror option somehow,&amp;nbsp; But unfortunately, the MOCORO command is in an .arx file, which I don't think can be edited -- at least, I don't know how.]&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:45:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9878002#M67427</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-11-18T12:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9878304#M67428</link>
      <description>&lt;P&gt;I use MOCORO because it's continuous, most times I'm not moving rotating or copying from a grip, and I don't mind using the keyboard keys to switch the function of the command. I just thought if the mirror command could be added in somehow that would be a bonus. I am however open to new ideas...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:31:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9878304#M67428</guid>
      <dc:creator>t.brezinsky</dc:creator>
      <dc:date>2020-11-18T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9880120#M67429</link>
      <description>&lt;P&gt;As I suggested what I posted is maybe the 1st version of the command, you can use that and add on to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need a front end something like this keep choosing till you exit or hit OK the way this is set up you click a choice and dcl closes do not actually need to pick OK its there more for repeat.&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="screenshot295.png" style="width: 149px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/846132i2CC9787ED6B1AB5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot295.png" alt="screenshot295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 07:14:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9880120#M67429</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-11-19T07:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Move/Copy/Rotate/Mirror Command</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9881694#M67430</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;P&gt;No way to edit MOCORO anyhow.&lt;/P&gt;
&lt;P&gt;Why you're using that command? What's the advantage of its usage? The reason I am asking is, that we may recommend you some other way to achieve that. Personally, I never found this command useful. It's too cumbersome for me.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No way to edit the current command but could be imitated and possibly enhanced. Still not sure if I find the usage for this, but certainly closer to my idea of how such a tool should perform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Differences from the original MOCORO:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(prompt "\rSpecify point for qmove or [MovE/Copy/Rotate/Align/mIrroW/Flip/Scale/Base] &amp;lt;eXit&amp;gt;: ")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;; command options by single key stoke, no need to confirmation by enter or space&lt;/P&gt;
&lt;P&gt;;; commands not obvious:&lt;BR /&gt;;; default is QuickMove - without osnaps, ignores base-ref-point if specified&lt;BR /&gt;;; both M/E are for the same Move - a classic command with a prompt for base-ref-point if unspecified yet&lt;BR /&gt;;; Copy - single copy only with prompt for base ref point if unspecified yet (not possible make it multiple as original MOCORO)&lt;BR /&gt;;; I/W/F for Mirror&lt;BR /&gt;;; I for classic Mirror with 'Remove objects' prompt&lt;BR /&gt;;; W for Mirror with NO to 'Remove objects' prompt, F for YES option&lt;BR /&gt;;; Align and Mirror ignors&amp;amp;resets base-ref-point if already specified&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;---------&lt;/P&gt;
&lt;P&gt;Footnote: qmove isn't as q as I thought would be because can't have grread on 2nd point &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 18:23:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/creating-a-move-copy-rotate-mirror-command/m-p/9881694#M67430</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-11-19T18:23:53Z</dc:date>
    </item>
  </channel>
</rss>

