<?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: How to place blocks along a polilyne using a excel or csv list? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525473#M104015</link>
    <description>&lt;P&gt;Look into the measure command using blocks&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 03:48:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-19T03:48:03Z</dc:date>
    <item>
      <title>How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525271#M104014</link>
      <description>&lt;P&gt;Hey guys, i've got some problems with a block insertion in cad. I have to place a lot of blocks along a polyline but taking the informations (block id and distance) from a list. The distance and blocks name will not be equal. My list have this layout:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;BLOCK&lt;/TD&gt;&lt;TD&gt;DISTANCE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BLCK1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BLCK2&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BLCK3&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BLCK4&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Can someone help me? Thanks! Much love from Brazil!&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 00:56:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525271#M104014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T00:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525473#M104015</link>
      <description>&lt;P&gt;Look into the measure command using blocks&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 03:48:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525473#M104015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T03:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525929#M104016</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the AutoCAD Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please have a look at the following two articles:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-LT/files/GUID-1520C3C9-34CB-4AE0-A344-173047F1EEC5-htm.html" target="_blank" rel="noopener"&gt;To Insert Blocks at a Specified Interval Along an Object&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-Core/files/GUID-212933E8-BC53-4872-A3DC-32C48DE1B2D0-htm.html" target="_blank" rel="noopener"&gt;MEASURE (Command)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;These article should give you the needed steps or at least a starting point for your situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could the information provided help you and answer your question?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If yes, please click on the &lt;FONT color="#008000"&gt;"Accept as Solution"&lt;/FONT&gt; button as then also other community users can easily find and benefit from the information. If not please don't hesitate to give an update here in your topic so all members know what´s the progression on your question is and can suggest next steps that might be helpful for you to achieve what you´re looking for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Thomas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 08:47:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9525929#M104016</guid>
      <dc:creator>Thomas_Stuehle</dc:creator>
      <dc:date>2020-05-19T08:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526015#M104017</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The distance and blocks name will not be equal.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;does this mean?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;block1 is 10 units from the end of the line, block2 is 20 units further along = 30, block3 is 30 units further along = 60, etc?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;is the line straight? or a curve or spline?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;can you provide a dwg file of the line?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;dave&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 09:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526015#M104017</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2020-05-19T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526415#M104018</link>
      <description>&lt;P&gt;Te measure command isnt effective for this kind of problem. The blocks distances will no be equal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 12:29:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526415#M104018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T12:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526422#M104019</link>
      <description>&lt;P&gt;Hi, Thomas! As i said, this commands are not effective for this kind of problem. As you saw, the blocks will not be placed at a equal interval. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 12:32:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526422#M104019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526435#M104020</link>
      <description>&lt;P&gt;Whats up! I think maybe i have expressed it badly. The distances from te beginning of the line will not have the same interval or distance: one block can be inserted at 15 meters and another at 125, for example. And the line, or polyline, will have a curve format but will not be a spline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 12:40:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526435#M104020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T12:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526547#M104021</link>
      <description>&lt;P&gt;It can be done with measure.&amp;nbsp; It will take some work and time and relevant to the number of blocks may be best handled with LISP.&amp;nbsp; a quick web search did not find one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;draw the line, new layer &amp;amp; set current, DDPTYPE to a visible point style such as an "X", MEASURE&amp;nbsp; interval for distance to the first point, place the block on another layer, QSELECT the layer with the points and erase those points,&amp;nbsp; repeat again for the next interval, etc .&amp;nbsp; Probably time consuming beyond reasonable but it will work.&amp;nbsp; look for least common denominator for the interval.&amp;nbsp; i.e if all the blocks are at intervals with 5 ( 15, 85, 125, 170 for example) as LCD&amp;nbsp; you can count by fives along the line and put the blocks where needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dave&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526547#M104021</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2020-05-19T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to place blocks along a polilyne using a excel or csv list?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526913#M104022</link>
      <description>&lt;P&gt;The &lt;STRONG&gt;measure&lt;/STRONG&gt; command has potential for a solution but it presents two challenges to be fully automated from a list of commands generated by Excel.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Measure may create more than one instance of the block.&amp;nbsp; The length specified will be used to create as many blocks as necessary to fill the length of&amp;nbsp; the polyline.&amp;nbsp; &amp;nbsp;&lt;U&gt;You would need to manually delete all but the first instance.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;2. The measure command prompts the user to "Select object to measure:".&amp;nbsp; The command will not accept a "p" (previous) nor a "g" (for group) at this point.&amp;nbsp; It will accept a vlisp point name variable so vlisp could be used to select the polyline for subsequent blocks but I have encountered a problem with this approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached Excel file uses the concatenate command to build vlisp statements.&amp;nbsp; It uses char(34) to generate quote marks that are need in the vlisp statement as opposed to quote marks needed for the concatenate function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before using the commands you must define a point on the polyline.&amp;nbsp; This can be done with the command (using osnap nearest):&lt;/P&gt;&lt;P&gt;(setq pt (getpoint "\nSpecify point on the polyline"))&lt;/P&gt;&lt;P&gt;Copying and pasting column C into the AutoCAD command line or creating a script produces the same result.&amp;nbsp; Only the first line gets successfully executed.&amp;nbsp; Not sure why.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 648px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/772752iBD8B5491C2AB1754/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The full contents of cell C2 is:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;=CONCATENATE("(command ",CHAR(34),"_measure",CHAR(34)," pt ",CHAR(34),"b",CHAR(34)," ", CHAR(34),A2,CHAR(34)," ",CHAR(34),"Y",CHAR(34)," ",B2," ",CHAR(34),CHAR(34),")")&lt;/LI-CODE&gt;&lt;P&gt;Here are the results.&amp;nbsp; As noted, only the first execution is successful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/772753i35EA0C0E83A2DDAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached are the files I used .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 15:36:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-place-blocks-along-a-polilyne-using-a-excel-or-csv-list/m-p/9526913#M104022</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2020-05-19T15:36:39Z</dc:date>
    </item>
  </channel>
</rss>

