<?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: Blocks Insertion Point in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358481#M42683</link>
    <description>Thank you for your help; But I need more help, what is the code in VBA to get the Insertion Point. I am new in this business.&lt;BR /&gt;
&lt;BR /&gt;
Thank You Very Much</description>
    <pubDate>Mon, 20 Jun 2005 15:05:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-06-20T15:05:24Z</dc:date>
    <item>
      <title>Blocks Insertion Point</title>
      <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358479#M42681</link>
      <description>Please help me;&lt;BR /&gt;
I would like to know how to get the insertion Point and Rotation angle of a block inserted using VBA&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot</description>
      <pubDate>Mon, 20 Jun 2005 13:39:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358479#M42681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-20T13:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks Insertion Point</title>
      <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358480#M42682</link>
      <description>Check out this two properties of an AcadBlockReference object, which is the&lt;BR /&gt;
one you inserted or you get from drawing:&lt;BR /&gt;
&lt;BR /&gt;
AcadBlockReference.InsertionPoint&lt;BR /&gt;
AcadBlockReference.Roration&lt;BR /&gt;
&lt;BR /&gt;
&lt;WILLI&gt; wrote in message news:4879309@discussion.autodesk.com...&lt;BR /&gt;
Please help me;&lt;BR /&gt;
I would like to know how to get the insertion Point and Rotation angle of a&lt;BR /&gt;
block inserted using VBA&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot&lt;/WILLI&gt;</description>
      <pubDate>Mon, 20 Jun 2005 14:21:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358480#M42682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-20T14:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks Insertion Point</title>
      <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358481#M42683</link>
      <description>Thank you for your help; But I need more help, what is the code in VBA to get the Insertion Point. I am new in this business.&lt;BR /&gt;
&lt;BR /&gt;
Thank You Very Much</description>
      <pubDate>Mon, 20 Jun 2005 15:05:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358481#M42683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-20T15:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks Insertion Point</title>
      <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358482#M42684</link>
      <description>This should do the trick ...&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Public Sub GetInsertionAndRotation()&lt;BR /&gt;
Dim Point As Variant&lt;BR /&gt;
Dim oEntity As AcadEntity&lt;BR /&gt;
Dim oBlockRef As AcadBlockReference&lt;BR /&gt;
&lt;BR /&gt;
  On Error Resume Next&lt;BR /&gt;
&lt;BR /&gt;
  ThisDrawing.Utility.GetEntity oEntity, Point, "Select a block ..."&lt;BR /&gt;
&lt;BR /&gt;
  If Err Then Exit Sub&lt;BR /&gt;
&lt;BR /&gt;
  If TypeOf oEntity Is AcadBlockReference Then&lt;BR /&gt;
    Set oBlockRef = oEntity&lt;BR /&gt;
    With oBlockRef&lt;BR /&gt;
      MsgBox "Insertion point is " &amp;amp; .InsertionPoint(0) &amp;amp; ", " &amp;amp; &lt;BR /&gt;
.InsertionPoint(1) &amp;amp; ", " &amp;amp; .InsertionPoint(2) &amp;amp; vbCrLf &amp;amp; _&lt;BR /&gt;
             "Rotation is " &amp;amp; ThisDrawing.Utility.AngleToString(.Rotation, &lt;BR /&gt;
acDegrees, 0)&lt;BR /&gt;
    End With&lt;BR /&gt;
  End If&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;WILLI&gt; wrote in message news:4879385@discussion.autodesk.com...&lt;BR /&gt;
Thank you for your help; But I need more help, what is the code in VBA to &lt;BR /&gt;
get the Insertion Point. I am new in this business.&lt;BR /&gt;
&lt;BR /&gt;
Thank You Very Much&lt;/WILLI&gt;</description>
      <pubDate>Mon, 20 Jun 2005 18:21:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358482#M42684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-20T18:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks Insertion Point</title>
      <link>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358483#M42685</link>
      <description>To Joe Sutphin &lt;BR /&gt;
&lt;BR /&gt;
I would like to thank you very much for your code, it did the trick.&lt;BR /&gt;
Thanks and have a nice day.</description>
      <pubDate>Tue, 21 Jun 2005 04:48:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/blocks-insertion-point/m-p/1358483#M42685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-21T04:48:36Z</dc:date>
    </item>
  </channel>
</rss>

