<?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: Which include defines AcadBlockReference, AcadCircle, etc.? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418028#M19919</link>
    <description>&lt;P&gt;Typically, you would use the Object Browser in Visual Studio to examine the object tree. For ActiveX, there is a help system located &lt;A href="http://help.autodesk.com/view/OARX/2021/ENU/" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. If you install the VBA enabler, it installs acadauto.chm, which I prefer over online help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ActiveX objects are usually prefixed with Acad?? as opposed to ac??. They are included in the interop libraries you already referenced.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 16:25:25 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2020-04-02T16:25:25Z</dc:date>
    <item>
      <title>Which include defines AcadBlockReference, AcadCircle, etc.?</title>
      <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418014#M19918</link>
      <description>&lt;P&gt;So, I have had success now opening an AutoCAD instance and document from an external program through ActiveX/COM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been able to add all sorts of objects and even insert a block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is going great. Except I need to be able to store a reference to the objects that I have now figured out how to add. And this is where the trouble comes up again. The reference documents are really good, with one MASSIVE exception. They don't tell you where the classes can be found. I cannot find anywhere that states what I need to reference or include to use the AcadEntity and its child classes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, once again, if I could get some help in determining which dll or tlb I need to reference and which using statement I need to add so that I can use these in my program I would be very grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 16:15:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418014#M19918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T16:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Which include defines AcadBlockReference, AcadCircle, etc.?</title>
      <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418028#M19919</link>
      <description>&lt;P&gt;Typically, you would use the Object Browser in Visual Studio to examine the object tree. For ActiveX, there is a help system located &lt;A href="http://help.autodesk.com/view/OARX/2021/ENU/" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. If you install the VBA enabler, it installs acadauto.chm, which I prefer over online help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ActiveX objects are usually prefixed with Acad?? as opposed to ac??. They are included in the interop libraries you already referenced.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 16:25:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418028#M19919</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-04-02T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Which include defines AcadBlockReference, AcadCircle, etc.?</title>
      <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418255#M19920</link>
      <description>&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking into what you provided I found that I needed to add "using Autodesk.AutoCAD.Interop.Common;" to my includes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 17:39:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418255#M19920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T17:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Which include defines AcadBlockReference, AcadCircle, etc.?</title>
      <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418293#M19921</link>
      <description>&lt;P&gt;You might also want to include a line that sets the app object.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;using AcadApp = Autodesk.AutoCAD.ApplicationServices.AcadApplication;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Apr 2020 17:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418293#M19921</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-04-02T17:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Which include defines AcadBlockReference, AcadCircle, etc.?</title>
      <link>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418735#M19922</link>
      <description>&lt;P&gt;I will do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 20:48:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/which-include-defines-acadblockreference-acadcircle-etc/m-p/9418735#M19922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T20:48:45Z</dc:date>
    </item>
  </channel>
</rss>

