<?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 Copy block to multiple selection of objects in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391831#M159795</link>
    <description>&lt;P&gt;My procedure is this:&lt;BR /&gt;1. I extract a set of 3D points from the Photoscan software, which then have X, Y and Z coordinates;&lt;BR /&gt;2. amount of this dxf in Autocad;&lt;BR /&gt;3. I create a block (for example a circle with a cross) with a center in one of these points and then placed in space;&lt;BR /&gt;4. I attribute the position attribute to this block by selecting only the Z coordinate and assigning the label "QUOTA" to it;&lt;BR /&gt;5. manually copy this block on the model at each point (see step 1);&lt;BR /&gt;6. through Express Tools explode the attribute;&lt;BR /&gt;7. use the FLATTEN command to fade all points and attributes to zero.&lt;BR /&gt;8. at this point I have the set of points in 2D (all at altitude 0) with however indicated next to each of its previous altitude Z (altimetric);&lt;BR /&gt;My need is to have an automatic procedure that replaces and accelerates step 5 where instead I spend a lot of time copying the block on every point if these are obviously numerous.&lt;BR /&gt;In practice my idea is to have a command that allows me to copy the selected block (to which the position attribute is connected, for example) to a multiple selection of identical or similar objects, in my case all the objects in the drawing point or even better all the point objects that are on a specific layer.&lt;BR /&gt;Who can help me?&lt;/P&gt;&lt;P&gt;Thank's a lot.&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 15:14:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-09T15:14:08Z</dc:date>
    <item>
      <title>Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391831#M159795</link>
      <description>&lt;P&gt;My procedure is this:&lt;BR /&gt;1. I extract a set of 3D points from the Photoscan software, which then have X, Y and Z coordinates;&lt;BR /&gt;2. amount of this dxf in Autocad;&lt;BR /&gt;3. I create a block (for example a circle with a cross) with a center in one of these points and then placed in space;&lt;BR /&gt;4. I attribute the position attribute to this block by selecting only the Z coordinate and assigning the label "QUOTA" to it;&lt;BR /&gt;5. manually copy this block on the model at each point (see step 1);&lt;BR /&gt;6. through Express Tools explode the attribute;&lt;BR /&gt;7. use the FLATTEN command to fade all points and attributes to zero.&lt;BR /&gt;8. at this point I have the set of points in 2D (all at altitude 0) with however indicated next to each of its previous altitude Z (altimetric);&lt;BR /&gt;My need is to have an automatic procedure that replaces and accelerates step 5 where instead I spend a lot of time copying the block on every point if these are obviously numerous.&lt;BR /&gt;In practice my idea is to have a command that allows me to copy the selected block (to which the position attribute is connected, for example) to a multiple selection of identical or similar objects, in my case all the objects in the drawing point or even better all the point objects that are on a specific layer.&lt;BR /&gt;Who can help me?&lt;/P&gt;&lt;P&gt;Thank's a lot.&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:14:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391831#M159795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391952#M159796</link>
      <description>&lt;P&gt;There are a few Autolisp placing a block at a node. That's what you need.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:46:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391952#M159796</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2018-11-09T15:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391967#M159797</link>
      <description>&lt;P&gt;Where I can find these Autolisp?&lt;/P&gt;&lt;P&gt;What is the procedure?&lt;/P&gt;&lt;P&gt;I don't know how write o program these type of Autolisp.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:55:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391967#M159797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391995#M159798</link>
      <description>&lt;P&gt;Download the .lsp and then in autocad you do a appload command, follow the instruction on this link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://autocadtips1.com/2012/03/27/autolisp-replace-selected-points-with-block/" target="_blank"&gt;https://autocadtips1.com/2012/03/27/autolisp-replace-selected-points-with-block/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 15:58:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8391995#M159798</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2018-11-09T15:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392077#M159799</link>
      <description>&lt;P&gt;I tried the LISP and it works well.&lt;BR /&gt;Replaces the selected points with a block as desired.&lt;BR /&gt;The problem, however, is that if I in the block define an attribute (for example in my case the position Z) when the LISP performs the replacement I no longer see the label of the Z position that was defined in the attribute of the block.&lt;/P&gt;&lt;P&gt;This procedure replaces the point with a block.&lt;BR /&gt;Instead, I would like the block to be copied on all points.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 16:29:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392077#M159799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T16:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392141#M159800</link>
      <description>&lt;P&gt;Google for that type of routine, the one you used had instruction to it, there are many to do what you need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 740px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/567817i605D3FD0C2EBA068/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 16:38:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392141#M159800</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2018-11-09T16:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Copy block to multiple selection of objects</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392191#M159801</link>
      <description>&lt;P&gt;I find it ............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;; Copy Object (block) on points&lt;BR /&gt;;;; Created by mdhutchinson&lt;BR /&gt;;;; Saved from:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/replace-point-with-block-object/td-p/2157479" target="_blank" rel="nofollow"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/replace-point-with-block-object/td-p/2157479&lt;/A&gt;&lt;BR /&gt;;;; Slightly modified by Igal Averbuh 2017 (added option to select needful points)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:Rp()&lt;BR /&gt;(command "undo" "begin")&lt;BR /&gt;(princ "\nSelect Points: ")&lt;BR /&gt;(setq ss (ssget '((0 . "POINT"))))&lt;BR /&gt;;(setq ss (ssget "x" (list (cons 0 "point"))))&lt;BR /&gt;(setq inc 0)&lt;BR /&gt;(setq obj (car (entsel "\nSelect an Object to locate at each Selected point: ")))&lt;BR /&gt;(setq orgpnt (cdr (assoc '10 (entget obj))))&lt;BR /&gt;(while (setq node (ssname ss inc))&lt;BR /&gt;(setq topnt (cdr (assoc '10 (entget node))))&lt;BR /&gt;(command "_copy" obj "" orgpnt topnt)&lt;BR /&gt;(setq inc (1+ inc))&lt;BR /&gt;)&lt;BR /&gt;(princ "\nDone")&lt;BR /&gt;(command "undo" "end")&lt;BR /&gt;)&lt;BR /&gt;;(c:rp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 16:56:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/copy-block-to-multiple-selection-of-objects/m-p/8392191#M159801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-09T16:56:21Z</dc:date>
    </item>
  </channel>
</rss>

