<?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: Copy / Paste / Rotate several time without redefine object or base point. in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8134880#M176809</link>
    <description>&lt;P&gt;Exaclty what i wanted to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, thanks a lot for your time and your patience!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2018 10:32:33 GMT</pubDate>
    <dc:creator>m.lharidon</dc:creator>
    <dc:date>2018-07-17T10:32:33Z</dc:date>
    <item>
      <title>Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8058706#M176790</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use a function close to MOCORO (copy/paste rotate), but with several copies.&lt;/P&gt;&lt;P&gt;It would be like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Click function / select object/select point base ... then click paste/click rotate until the end of the function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks by advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 19:15:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8058706#M176790</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-10T19:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8059875#M176791</link>
      <description>&lt;P&gt;Select an object. Click on a grip for your base point. Space bar toggles thru move, rotate, scale. If you use control on the move icon it will copy instead. I think that is as close as you are going to get without writing a lisp or finding one. No matter what, you still will need a second click in there because autocad can't guess if you want to copy or rotate or just move each time.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:54:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8059875#M176791</guid>
      <dc:creator>gotphish001</dc:creator>
      <dc:date>2018-06-11T12:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8059899#M176792</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click function / select &lt;FONT color="#0000ff"&gt;object&lt;/FONT&gt;/select point base ... then click paste/click rotate until the end of the function.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If by "select &lt;FONT color="#0000ff"&gt;object&lt;/FONT&gt;" you really mean only &lt;FONT color="#0000ff"&gt;&lt;EM&gt;one&lt;/EM&gt;&amp;nbsp; object&lt;/FONT&gt;, try this:&lt;/P&gt;
&lt;PRE&gt;(defun C:CBPRM (/ e p); = CopyBase and Paste/Rotate Multiple
  (if
    (and
      (setq e (car (entsel "\&lt;FONT color="#0000ff"&gt;Object&lt;/FONT&gt; to Paste/Rotate Multiple times: ")))
      (setq p (getpoint "\nBase point for Pasting &amp;amp; Rotation: "))
    ); and
    (progn ; then
      (command "_.copybase" p e "")
      (while (setq p (getpoint "\nPaste base point or &amp;lt;exit&amp;gt;: "))
        (command
          "_.pasteclip" p
          "_.rotate" &lt;FONT color="#0000ff"&gt;"_last"&lt;/FONT&gt; "" p pause
        ); command
      ); while
    ); progn
  ); if
  (princ)
); defun&lt;/PRE&gt;
&lt;P&gt;If you might sometimes want to select &lt;EM&gt;more than one&lt;/EM&gt;&amp;nbsp; object, that's more complicated [because the selection in the Rotate command needs to involve an indeterminate number of objects], but doable -- there are a couple of ways I can imagine it could be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 13:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8059899#M176792</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-11T13:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8062507#M176793</link>
      <description>&lt;P&gt;Thanks but I manage the basic fonction, I looked for a productivity tool (allInOne).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However thanks for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 12:18:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8062507#M176793</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-12T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8062535#M176794</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks pomising but.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copy your macro on my fonction then when i click I have the linked image situation.&lt;/P&gt;&lt;P&gt;(I work in lighting, The application is to copy several spot on a track but with different orientations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find where it bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ML&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 12:28:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8062535#M176794</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-12T12:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8063494#M176795</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I copy your macro on my fonction then when i click I have the linked image situation.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's not a macro, so if you're putting it into something like a Tool Palette button, it's not written for that.&amp;nbsp; You can either:&lt;/P&gt;
&lt;P&gt;A)&amp;nbsp; Paste it into a plain-text editor such as Notepad, save it to a file with a .lsp filetype ending, and APPLOAD that file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B)&amp;nbsp; Paste it into a plain-text editor such as Notepad, remove all semicolons and whatever follows them on all lines, Copy the remaining code to the clipboard, and Paste that in at the AutoCAD command line.&amp;nbsp; [And if you get a line like this:&lt;/P&gt;
&lt;P&gt;(_&amp;gt; )&lt;/P&gt;
&lt;P&gt;just hit Enter to register that last parenthesis.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way will only &lt;EM&gt;define&lt;/EM&gt;&amp;nbsp; the command --&amp;nbsp;they will not &lt;EM&gt;start&lt;/EM&gt;&amp;nbsp; it.&amp;nbsp; You will need to&amp;nbsp;enter the CBPRM command name.&amp;nbsp; You can put &lt;EM&gt;that&lt;/EM&gt;&amp;nbsp; into a Tool Palette button as a macro, if you like.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:17:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8063494#M176795</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-12T18:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8063651#M176796</link>
      <description>&lt;P&gt;Very simple, but try this:&lt;/P&gt;&lt;PRE&gt;(defun c:CR (/ ss p1 p2)
  (princ "\n &amp;gt;&amp;gt;Select objects&amp;lt;&amp;lt;: ")
  (if
    (setq ss (ssget))
    (if
      (setq p1 (getpoint "\nClick the Point: "))
      (progn
	(command "_.COPY" ss "" p1 p1)
        (princ "\nSecond point: ")
        (command "_.MOVE" ss "" p1 pause) 
        (setq P2 (getvar "LASTPOINT")) 
        (princ "\nAngle:") 
        (command "_.ROTATE" ss "" P2 "b" "0" pause)
      ) 
    ) 
    (prompt "\nNo object selected!!") 
  ) 
  (princ) 
)
(Prompt "\n Type CR  ")&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Júnior Nogueira.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Por favor,&amp;nbsp;&amp;nbsp;Aceitar como Solução se meu post&amp;nbsp;te ajudar.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&lt;SPAN&gt;Please Accept as Solution if my post helps you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 19:12:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8063651#M176796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-12T19:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067506#M176797</link>
      <description>&lt;P&gt;Thanks a lot!!!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067506#M176797</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-14T07:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067518#M176798</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two small questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I create a short cut for it? to put in the tool bar?&lt;/P&gt;&lt;P&gt;If I want to define automatically the base point as gravity point of my block. is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:27:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067518#M176798</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-14T07:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067991#M176799</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....How can I create a short cut for it? to put in the tool bar?&lt;/P&gt;
&lt;P&gt;If I want to define automatically the base point as gravity point of my block. is it possible?&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Help will tell you how to create a Tool Palette button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the object will always be a Block, you can replace this line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(setq p (getpoint "\nBase point for Pasting &amp;amp; Rotation: "))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;with this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(setq p (cdr (assoc 10 (entget e))))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but that's the bare-bones way -- if needed, it could be enhanced to check that you did pick a Block, and even to ask you again if you picked something else, or missed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 11:30:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8067991#M176799</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-14T11:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8068598#M176800</link>
      <description>&lt;P&gt;So great!! Thanks it is exactly what i looked for!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; (So happy)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:18:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8068598#M176800</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-06-14T15:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8125734#M176801</link>
      <description>&lt;P&gt;Hello Kent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use your trick on this lisp not to have to define base point every time, but I can't make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 11:38:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8125734#M176801</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-07-12T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8126240#M176802</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to use your trick on this lisp not to have to define base point every time, but I can't make it work.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm not sure what you mean by my "trick" in relation to that routine [which doesn't involve the Rotate aspect of this thread]&amp;nbsp;-- from which message?&amp;nbsp; Do you want to re-use the same selection set and basepoint for multiple paste-arrays within one running of the command?&amp;nbsp; That could be pretty simple, pulling the selection and basepoint out on their own for re-use, and putting the point designations inside a (while) loop.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 14:46:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8126240#M176802</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-07-12T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8128162#M176803</link>
      <description>&lt;P&gt;Sorry, I wasn't clear.&lt;/P&gt;&lt;P&gt;This lips is about to copy n time object between to point. I would like to apply it to block and so, i d like to take automaticly the block base point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i try to replace&lt;/P&gt;&lt;P&gt;&amp;nbsp;(setq p (getpoint "\n Specify Base point of objects :"))&lt;/P&gt;&lt;P&gt;By&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(setq p (cdr (assoc 10 (entget e)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But It doesn't work. I don't understand what i missed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 09:35:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8128162#M176803</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-07-13T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8128344#M176804</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
….
&lt;P&gt;&lt;SPAN&gt;But It doesn't work.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;"It doesn't work" is never enough information.&amp;nbsp; What are the symptoms?&amp;nbsp; Does the file not load?&amp;nbsp; Does it load, but the command name isn't recognized?&amp;nbsp; Does it take the command name, but something happens that you don't expect?&amp;nbsp; Something doesn't happen that you do expect?&amp;nbsp; Etc., etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it pastes things but in the wrong place(s), do you have running Object Snap modes on?&amp;nbsp; It was always a bare-bones routine, so it didn't yet include controlling for that, but it's easy to add.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 11:24:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8128344#M176804</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-07-13T11:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132035#M176805</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the imcomplete information:&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;-the lisp load correctly&lt;/P&gt;&lt;P&gt;-The command is reconized&lt;/P&gt;&lt;P&gt;-It runs until "object selection" i select it then nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 09:17:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132035#M176805</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-07-16T09:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132693#M176806</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;-the lisp load correctly&lt;/P&gt;
&lt;P&gt;-The command is reconized&lt;/P&gt;
&lt;P&gt;-It runs until "object selection" i select it then nothing.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to say without seeing your end-result code -- maybe something went awry in copying/pasting.&amp;nbsp; This version works for me:&lt;/P&gt;
&lt;PRE&gt;(defun C:CBPRM (/ e p); = CopyBase and Paste/Rotate Multiple
  (if
    (and
      (setq e (car (entsel "\Object to Paste/Rotate Multiple times: ")))
      (setq p (cdr (assoc 10 (entget e))))
    ); and
    (progn ; then
      (command "_.copybase" p e "")
      (while (setq p (getpoint "\nPaste base point or &amp;lt;exit&amp;gt;: "))
        (command
          "_.pasteclip" p
          "_.rotate" "_last" "" p pause
        ); command
      ); while
    ); progn
  ); if
  (princ)
); defun
&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:46:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132693#M176806</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-07-16T13:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132735#M176807</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it work perfectly for this Lisp (CBPRM) but i tried to apply the "select base point" line to an other lisp (cm2p attached in my previous message.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what i looked for. why this selection doesn't work in this lisp but perfectly works on yours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ML&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 14:00:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132735#M176807</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-07-16T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132945#M176808</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6170078"&gt;@m.lharidon&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes it work perfectly for this Lisp (CBPRM) but i tried to apply the "select base point" line to an other lisp (cm2p attached in my previous message.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what i looked for. why this selection doesn't work in this lisp but perfectly works on yours.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's the difference between &lt;EM&gt;single-object&lt;/EM&gt;&amp;nbsp; selection with &lt;FONT color="#ff00ff"&gt;(entsel)&lt;/FONT&gt; and &lt;EM&gt;multiple-object&lt;/EM&gt;&amp;nbsp; selection with &lt;FONT color="#ff00ff"&gt;(ssget)&lt;/FONT&gt;.&amp;nbsp; The CM2P command is set up for multiple objects&amp;nbsp;[if you want -- you can stop at only one], and&amp;nbsp;there is no 'e' variable [the single object in CBPRM] from which to extract that insertion point.&amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;EM&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp; you will always use it to select &lt;FONT color="#ff0000"&gt;&lt;EM&gt;only one object&lt;/EM&gt;&lt;/FONT&gt;, and&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;IF&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; that object will always be something &lt;FONT color="#ff0000"&gt;&lt;EM&gt;with an (assoc 10) entry&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp; in its entity data [such as a Block's or Text/Mtext object's insertion point, or a Line's or Polyline's start point, or an Arc's or Circle's center point], you could try replacing this line:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq p (getpoint "\n Specify Base point of objects :"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with [instead of the substitution in CBPRM using the 'e' entity name]&amp;nbsp;this:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq p (cdr (assoc 10 (entget &lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;(ssname ss 0)&lt;/STRONG&gt;&lt;/FONT&gt;))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to get it from the first [and only] object in the selection set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you could also change the &lt;EM&gt;selection&lt;/EM&gt;&amp;nbsp; part to use (entsel) instead of (ssget), as in the other command.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 14:56:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8132945#M176808</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-07-16T14:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Copy / Paste / Rotate several time without redefine object or base point.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8134880#M176809</link>
      <description>&lt;P&gt;Exaclty what i wanted to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, thanks a lot for your time and your patience!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 10:32:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-paste-rotate-several-time-without-redefine-object-or-base/m-p/8134880#M176809</guid>
      <dc:creator>m.lharidon</dc:creator>
      <dc:date>2018-07-17T10:32:33Z</dc:date>
    </item>
  </channel>
</rss>

