<?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: Measure or divide command in vba in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2929662#M44654</link>
    <description>&lt;DIV&gt;&lt;P&gt;first of all&lt;/P&gt;&lt;P&gt;you need to insert block command I send an example...&lt;/P&gt;&lt;P&gt;then you specified the coords. of the where the block inserted.&lt;/P&gt;&lt;P&gt;along a polyline I suggest get coordinate method.&lt;/P&gt;&lt;P&gt;if you describe your problem with details, I can help with further imformation.&lt;/P&gt;&lt;P&gt;here is insert block example which already existed in acad&lt;/P&gt;&lt;P&gt;sub is add block to (0,0,0) coordinate, you can modfiy to polyline coordinates..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Sub block_ekleme()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim blocknesnesi As AcadBlockReference&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim kesisim(0 To 2) As Double&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;kesisim(0) = 0: kesisim(1) = 0: kesisim(2) = 0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Set blocknesnesi = ThisDrawing.ModelSpace.InsertBlock(kesisim, "blo", 1#, 1#, 1#, 0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ZoomAll&lt;/DIV&gt;&lt;DIV&gt;End Sub&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 25 Feb 2011 07:19:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-02-25T07:19:49Z</dc:date>
    <item>
      <title>Measure or divide command in vba</title>
      <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/1288903#M44652</link>
      <description>I want  to insert a block along a polyline like measure or divide command. 
Is there a way to use these commands in vba ?

Sukru Baykan</description>
      <pubDate>Thu, 07 Apr 2005 06:53:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/1288903#M44652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-07T06:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or divide command in vba</title>
      <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2928988#M44653</link>
      <description>&lt;P&gt;Also need this functionality but looking at other posts, it seems you have to use LISP.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2011 18:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2928988#M44653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T18:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or divide command in vba</title>
      <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2929662#M44654</link>
      <description>&lt;DIV&gt;&lt;P&gt;first of all&lt;/P&gt;&lt;P&gt;you need to insert block command I send an example...&lt;/P&gt;&lt;P&gt;then you specified the coords. of the where the block inserted.&lt;/P&gt;&lt;P&gt;along a polyline I suggest get coordinate method.&lt;/P&gt;&lt;P&gt;if you describe your problem with details, I can help with further imformation.&lt;/P&gt;&lt;P&gt;here is insert block example which already existed in acad&lt;/P&gt;&lt;P&gt;sub is add block to (0,0,0) coordinate, you can modfiy to polyline coordinates..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Sub block_ekleme()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim blocknesnesi As AcadBlockReference&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim kesisim(0 To 2) As Double&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;kesisim(0) = 0: kesisim(1) = 0: kesisim(2) = 0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Set blocknesnesi = ThisDrawing.ModelSpace.InsertBlock(kesisim, "blo", 1#, 1#, 1#, 0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ZoomAll&lt;/DIV&gt;&lt;DIV&gt;End Sub&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Feb 2011 07:19:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2929662#M44654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-25T07:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or divide command in vba</title>
      <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2929822#M44655</link>
      <description>&lt;P&gt;it is fairly easy to do mathematically. Here is one example. It is maybe little complex &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; but will give you directions how to do it. There is a way with SendCommand() method but I don't know how it works. Look in Help Menu there is plenty of examples&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/2929822#M44655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-25T11:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or divide command in vba</title>
      <link>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/5763026#M44656</link>
      <description>&lt;P&gt;&amp;nbsp;Nice job, however if a segment of poly line is arc you measure the distance of the cord not the real distance on curve.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2015 03:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/measure-or-divide-command-in-vba/m-p/5763026#M44656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-09T03:00:25Z</dc:date>
    </item>
  </channel>
</rss>

