<?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: block inserting twice in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/block-inserting-twice/m-p/2291273#M19242</link>
    <description>Set BlockRef = ThisDrawing.Blocks("*MODEL_SPACE").InsertBlock(point, Path, 0.1764, 0.1764, 0.1764, 0#)&lt;BR /&gt;
&lt;BR /&gt;
where &lt;BR /&gt;
point is ur insertion point&lt;BR /&gt;
Path is ur path &lt;BR /&gt;
0.1764 is x , y ,z scale</description>
    <pubDate>Sat, 19 Jul 2008 06:05:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-19T06:05:53Z</dc:date>
    <item>
      <title>block inserting twice</title>
      <link>https://forums.autodesk.com/t5/vba-forum/block-inserting-twice/m-p/2291272#M19241</link>
      <description>Hello all,&lt;BR /&gt;
&lt;BR /&gt;
Newbie here trying to do some VBA.&lt;BR /&gt;
&lt;BR /&gt;
I've got code that does what I want, but it inserts the block twice????  Any suggestions on how to modify the code to only insert the block once at the given location?&lt;BR /&gt;
&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
Dim blockRefObj As AcadBlockReference&lt;BR /&gt;
Dim insertionPnt(0 To 2) As Double&lt;BR /&gt;
insertionPnt(0) = 567.59: insertionPnt(1) = 929.73: insertionPnt(2) = 0#&lt;BR /&gt;
Set blockRefObj = ThisDrawing.PaperSpace.InsertBlock(insertionPnt, "C:\Oilfield ACAD-config\Blocks\VERT-COORDS.dwg", 1#, 1#, 1#, 0)&lt;BR /&gt;
&lt;END code=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/END&gt;&lt;/CODE&gt;</description>
      <pubDate>Wed, 02 Jul 2008 14:02:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/block-inserting-twice/m-p/2291272#M19241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-02T14:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: block inserting twice</title>
      <link>https://forums.autodesk.com/t5/vba-forum/block-inserting-twice/m-p/2291273#M19242</link>
      <description>Set BlockRef = ThisDrawing.Blocks("*MODEL_SPACE").InsertBlock(point, Path, 0.1764, 0.1764, 0.1764, 0#)&lt;BR /&gt;
&lt;BR /&gt;
where &lt;BR /&gt;
point is ur insertion point&lt;BR /&gt;
Path is ur path &lt;BR /&gt;
0.1764 is x , y ,z scale</description>
      <pubDate>Sat, 19 Jul 2008 06:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/block-inserting-twice/m-p/2291273#M19242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-19T06:05:53Z</dc:date>
    </item>
  </channel>
</rss>

