<?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 Array in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108471#M123767</link>
    <description>&lt;P&gt;&lt;U&gt;Thanks, this words, i only have to make sure that the array only exists of 1 item, otherwise it will only delete the last thing copied.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;So if i use a cirkel with a hatch, after copy array and delete last, there will be either the cirkel or the hatch still in the drawing at the end point of fit.&lt;/U&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 11:34:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-25T11:34:06Z</dc:date>
    <item>
      <title>Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9107857#M123761</link>
      <description>&lt;P&gt;I would like to understand the copy array.&lt;/P&gt;&lt;P&gt;Why is it that i have to count the object i want to copy with the amount by wich i want to multiply?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, i want to create 6 spaces between lines, i have got 1 line in my drawing wich i select en then i use copy, array en then i have to enter 8 items to the copy array, then i get 7 equall spaces and in total 8 lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i got 1 line already in my drawing, why i have to count the excisting line?, i am copying only 7 extra lines, so why can't i just enter 7 (of 7 copies?), it is a bit strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it also possible to copy array, whithout copying the last item, if there is already a object at the end, sort like divide?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 07:16:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9107857#M123761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T07:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108072#M123762</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well instead of seeing the ARRAY command as adding objects look at it as copy multiple and it seems that the programmer(s) who created it thought of the result of the total copies and that's include the one you select. they could do it as you offered and until they do use the following lisp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;enjoy&lt;/P&gt;&lt;P&gt;moshe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;; rectangular array
(defun c:RecAR (/ askint askdist ; local functions
		  ss rows cols rowY colX)

 (defun askint (msg0 / val)
  (initget (+ 2 4))
   
  (if (not (setq val (getint (strcat "\nEnter the number of " msg0 " to add &amp;lt;1&amp;gt;: "))))
   2
   (1+ val)
  )
 ); askint

 (defun askdist (msg0 msg1)
  (initget (+ 2 4))
  (getdist (strcat "\nEnter the distance between " msg0 " or specify unit cell " msg1 ": "))
 ); askdist
  
 (if (and
       (setq ss (ssget))
       (setq rows (askint "rows (---)"))
       (setq cols (askint "columns (|||)"))
       (setq rowY (askdist "rows" "(---)"))
       (setq colX (askdist "columns" "(|||)"))
     )
  (command ".-array" "_si" ss "_r" rows cols rowY colX)    
 )

 (princ)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 08:33:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108072#M123762</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-10-25T08:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108099#M123763</link>
      <description>&lt;P&gt;Thanks, i'm using AutoCad LT, is it possible tu use this LISP?, how does that work?.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 08:44:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108099#M123763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T08:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108154#M123764</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you use copy array, you are no longer copying the object. You are&amp;nbsp; creating array of the selected object. You can assume it to be like you are using array function inside a copy command, as in array command(rectangular array) when you specify the number of column say for example 5,&amp;nbsp; it includes even the selected objects as well right?&lt;/P&gt;&lt;P&gt;So don't think of it as copy command when you use copy array, think of it as your using rectangular array which includes even the selected object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can look into help, if you want more information.&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Core/files/GUID-1CF9287F-06E8-4D03-8377-2E130862FE02-htm.html" target="_blank" rel="noopener"&gt;COPY (Command)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 09:05:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108154#M123764</guid>
      <dc:creator>vinodkl</dc:creator>
      <dc:date>2019-10-25T09:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108347#M123765</link>
      <description>&lt;P&gt;Ok, thanks, so i always have to count the selected item with the amount of copies, ok.Is ther a option to automaticly delete the last one when you use array fit?, or is this not possible?.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 10:21:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108347#M123765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T10:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108390#M123766</link>
      <description>&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;Is ther a option to automaticly delete the last one when you use array fit?, or is this not possible?.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;No that's not possible. You have to manually select the last object and then delete or a&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;workaround would be to type in (after copy array with fit) command "E"(Erase) and then type in "L" (this would select the object which was created last) and then enter which would delete the last object.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I also follow the same method.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 10:48:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108390#M123766</guid>
      <dc:creator>vinodkl</dc:creator>
      <dc:date>2019-10-25T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108471#M123767</link>
      <description>&lt;P&gt;&lt;U&gt;Thanks, this words, i only have to make sure that the array only exists of 1 item, otherwise it will only delete the last thing copied.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;So if i use a cirkel with a hatch, after copy array and delete last, there will be either the cirkel or the hatch still in the drawing at the end point of fit.&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 11:34:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108471#M123767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T11:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108498#M123768</link>
      <description>&lt;P&gt;If the objects are more than one then it would delete only one object. You could again use erase and select last object (L) to delete the next last created object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 11:48:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108498#M123768</guid>
      <dc:creator>vinodkl</dc:creator>
      <dc:date>2019-10-25T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Array</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108511#M123769</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 11:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-array/m-p/9108511#M123769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T11:51:01Z</dc:date>
    </item>
  </channel>
</rss>

