<?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 AddMInsertBlock parameters are integer instead of double in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/addminsertblock-parameters-are-integer-instead-of-double/m-p/11295512#M12400</link>
    <description>&lt;P&gt;I am trying to use the AddMInsertBlock function to add an array of blocks to a drawing.&amp;nbsp; I got it working, however the row &amp;amp; column spacing is not using the values I specify in the parameters.&amp;nbsp; &amp;nbsp;So if I specify a spacing of 3.5, for example, the block spacing gets rounded to 4.0.&amp;nbsp;&amp;nbsp;Visual Studio IntelliSense shows that those parameters take integers, but online documentation shows it as doubles.&amp;nbsp;&amp;nbsp;See attached image.&lt;/P&gt;&lt;P&gt;Is this an error in the API?&amp;nbsp; Anyone else have this problem or know a fix?&amp;nbsp; Thanks...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1091329iE214B2B4AF4C1DAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 19:39:53 GMT</pubDate>
    <dc:creator>NickBrege</dc:creator>
    <dc:date>2022-07-13T19:39:53Z</dc:date>
    <item>
      <title>AddMInsertBlock parameters are integer instead of double</title>
      <link>https://forums.autodesk.com/t5/net-forum/addminsertblock-parameters-are-integer-instead-of-double/m-p/11295512#M12400</link>
      <description>&lt;P&gt;I am trying to use the AddMInsertBlock function to add an array of blocks to a drawing.&amp;nbsp; I got it working, however the row &amp;amp; column spacing is not using the values I specify in the parameters.&amp;nbsp; &amp;nbsp;So if I specify a spacing of 3.5, for example, the block spacing gets rounded to 4.0.&amp;nbsp;&amp;nbsp;Visual Studio IntelliSense shows that those parameters take integers, but online documentation shows it as doubles.&amp;nbsp;&amp;nbsp;See attached image.&lt;/P&gt;&lt;P&gt;Is this an error in the API?&amp;nbsp; Anyone else have this problem or know a fix?&amp;nbsp; Thanks...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1091329iE214B2B4AF4C1DAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 19:39:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/addminsertblock-parameters-are-integer-instead-of-double/m-p/11295512#M12400</guid>
      <dc:creator>NickBrege</dc:creator>
      <dc:date>2022-07-13T19:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: AddMInsertBlock parameters are integer instead of double</title>
      <link>https://forums.autodesk.com/t5/net-forum/addminsertblock-parameters-are-integer-instead-of-double/m-p/11297675#M12401</link>
      <description>&lt;P&gt;It seems that the .NET version of the COM wrapper has changed the parameters from the VBA version, which are doubles. Regardless, using a MINSERT is pretty old technology. Why don't you use an &lt;A href="https://help.autodesk.com/view/OARX/2023/ENU/?guid=OARX-ManagedRefGuide-Autodesk_AutoCAD_DatabaseServices_AssocArray" target="_blank" rel="noopener"&gt;AssocArray&lt;/A&gt; like the &lt;A href="https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-E23F6125-E5E9-4645-9615-23717902C33B" target="_blank" rel="noopener"&gt;ARRAY&lt;/A&gt; command does? You can search this forum for samples. And here's &lt;A href="https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-11DE611D-147F-402C-8451-776E7D95EB45" target="_blank" rel="noopener"&gt;another&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:43:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/addminsertblock-parameters-are-integer-instead-of-double/m-p/11297675#M12401</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-07-14T15:43:24Z</dc:date>
    </item>
  </channel>
</rss>

