<?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: Xref Blocks in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000910#M55355</link>
    <description>that is not correct.
I have tried that and it returns the block definition not the block ref.

"Ed Jobe" &lt;EDLJOBE&gt; wrote in message news:4075ab6f_1@newsprd01...
&amp;gt; And when you pick the subentity, all objects have an OwnerID property
&amp;gt; inherited from the IAcadObject interface. You can use that with
&amp;gt; ThisDrawing.Utility.ObectIdToObject and examine its type to see if its a
&amp;gt; blockref.
&amp;gt;
&amp;gt; -- 
&amp;gt; ----
&amp;gt; Ed
&amp;gt; ----
&amp;gt; "Mike Daugird" &lt;MDAUGIRD&gt; wrote in message
&amp;gt; news:4075a908_2@newsprd01...
&amp;gt; &amp;gt; I have a electrical drawing which has the HVAC as an xref overlay.
&amp;gt; &amp;gt; in the HVAC drawing is a block which has attributes.
&amp;gt; &amp;gt; I want to be able to pick the hvac block and get its attributes.
&amp;gt; &amp;gt; Problem is when I pick it, I get the entire HVAC xref.
&amp;gt; &amp;gt; when I use getsubentitiy I get the line of the block definition not the
&amp;gt; block ref.
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; I will post a sample drawing in the customer-files section.
&amp;gt; &amp;gt; thanks
&amp;gt; &amp;gt;
&amp;gt; &amp;gt;
&amp;gt;
&amp;gt;&lt;/MDAUGIRD&gt;&lt;/EDLJOBE&gt;</description>
    <pubDate>Thu, 08 Apr 2004 19:50:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-04-08T19:50:08Z</dc:date>
    <item>
      <title>Xref Blocks</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000907#M55352</link>
      <description>I have a electrical drawing which has the HVAC as an xref overlay.
in the HVAC drawing is a block which has attributes.
I want to be able to pick the hvac block and get its attributes.
Problem is when I pick it, I get the entire HVAC xref.
when I use getsubentitiy I get the line of the block definition not the block ref.

I will post a sample drawing in the customer-files section.
thanks</description>
      <pubDate>Thu, 08 Apr 2004 19:33:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000907#M55352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T19:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Xref Blocks</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000908#M55353</link>
      <description>Have you tried searching this ng for "attributes"? I'm sure you will find
tons of code. Also, check out help on the HasAttributes property.

-- 
----
Ed
----
"Mike Daugird" &lt;MDAUGIRD&gt; wrote in message
news:4075a908_2@newsprd01...
&amp;gt; I have a electrical drawing which has the HVAC as an xref overlay.
&amp;gt; in the HVAC drawing is a block which has attributes.
&amp;gt; I want to be able to pick the hvac block and get its attributes.
&amp;gt; Problem is when I pick it, I get the entire HVAC xref.
&amp;gt; when I use getsubentitiy I get the line of the block definition not the
block ref.
&amp;gt;
&amp;gt; I will post a sample drawing in the customer-files section.
&amp;gt; thanks
&amp;gt;
&amp;gt;&lt;/MDAUGIRD&gt;</description>
      <pubDate>Thu, 08 Apr 2004 19:37:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000908#M55353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T19:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Xref Blocks</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000909#M55354</link>
      <description>And when you pick the subentity, all objects have an OwnerID property
inherited from the IAcadObject interface. You can use that with
ThisDrawing.Utility.ObectIdToObject and examine its type to see if its a
blockref.

-- 
----
Ed
----
"Mike Daugird" &lt;MDAUGIRD&gt; wrote in message
news:4075a908_2@newsprd01...
&amp;gt; I have a electrical drawing which has the HVAC as an xref overlay.
&amp;gt; in the HVAC drawing is a block which has attributes.
&amp;gt; I want to be able to pick the hvac block and get its attributes.
&amp;gt; Problem is when I pick it, I get the entire HVAC xref.
&amp;gt; when I use getsubentitiy I get the line of the block definition not the
block ref.
&amp;gt;
&amp;gt; I will post a sample drawing in the customer-files section.
&amp;gt; thanks
&amp;gt;
&amp;gt;&lt;/MDAUGIRD&gt;</description>
      <pubDate>Thu, 08 Apr 2004 19:43:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000909#M55354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T19:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Xref Blocks</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000910#M55355</link>
      <description>that is not correct.
I have tried that and it returns the block definition not the block ref.

"Ed Jobe" &lt;EDLJOBE&gt; wrote in message news:4075ab6f_1@newsprd01...
&amp;gt; And when you pick the subentity, all objects have an OwnerID property
&amp;gt; inherited from the IAcadObject interface. You can use that with
&amp;gt; ThisDrawing.Utility.ObectIdToObject and examine its type to see if its a
&amp;gt; blockref.
&amp;gt;
&amp;gt; -- 
&amp;gt; ----
&amp;gt; Ed
&amp;gt; ----
&amp;gt; "Mike Daugird" &lt;MDAUGIRD&gt; wrote in message
&amp;gt; news:4075a908_2@newsprd01...
&amp;gt; &amp;gt; I have a electrical drawing which has the HVAC as an xref overlay.
&amp;gt; &amp;gt; in the HVAC drawing is a block which has attributes.
&amp;gt; &amp;gt; I want to be able to pick the hvac block and get its attributes.
&amp;gt; &amp;gt; Problem is when I pick it, I get the entire HVAC xref.
&amp;gt; &amp;gt; when I use getsubentitiy I get the line of the block definition not the
&amp;gt; block ref.
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; I will post a sample drawing in the customer-files section.
&amp;gt; &amp;gt; thanks
&amp;gt; &amp;gt;
&amp;gt; &amp;gt;
&amp;gt;
&amp;gt;&lt;/MDAUGIRD&gt;&lt;/EDLJOBE&gt;</description>
      <pubDate>Thu, 08 Apr 2004 19:50:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000910#M55355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T19:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Xref Blocks</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000911#M55356</link>
      <description>Solved, I needed the context data
"Mike Daugird" &lt;MDAUGIRD&gt; wrote in message news:4075a908_2@newsprd01...
&amp;gt; I have a electrical drawing which has the HVAC as an xref overlay.
&amp;gt; in the HVAC drawing is a block which has attributes.
&amp;gt; I want to be able to pick the hvac block and get its attributes.
&amp;gt; Problem is when I pick it, I get the entire HVAC xref.
&amp;gt; when I use getsubentitiy I get the line of the block definition not the block ref.
&amp;gt;
&amp;gt; I will post a sample drawing in the customer-files section.
&amp;gt; thanks
&amp;gt;
&amp;gt;&lt;/MDAUGIRD&gt;</description>
      <pubDate>Thu, 08 Apr 2004 20:27:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-blocks/m-p/1000911#M55356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T20:27:13Z</dc:date>
    </item>
  </channel>
</rss>

