<?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: One vb ap for both AutoCAD and Civil 3D... is it possible? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693980#M65157</link>
    <description>&lt;P&gt;What are you trying to do? If your app only uses plain Autocad functionallity then it will work on both platforms, if does call Civil3D functionallity then you might possibly get around the problem with late binding your references after you detect if Civil3D is installed (don't know this for a fact but I've done this with other non-Autodesk applications).&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2010 11:18:28 GMT</pubDate>
    <dc:creator>michael_robertson</dc:creator>
    <dc:date>2010-06-09T11:18:28Z</dc:date>
    <item>
      <title>One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693721#M65155</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am writing a vb.net app that needs to work with both regular AutoCAD 2011 and also Civil 3D 2011.&amp;nbsp; To keep things simple I would really like to avoid having to maintain two separate versions of the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do this, will the Civil 3D references cause issues when the program is run in regular AutoCAD (without Civil 3D installed), or will they quietly be ignored unless a command is used that requires them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2010 20:53:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693721#M65155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-08T20:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693865#M65156</link>
      <description>&lt;P&gt;AFAIK, that wouldn't be possible.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 05:12:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693865#M65156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-09T05:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693980#M65157</link>
      <description>&lt;P&gt;What are you trying to do? If your app only uses plain Autocad functionallity then it will work on both platforms, if does call Civil3D functionallity then you might possibly get around the problem with late binding your references after you detect if Civil3D is installed (don't know this for a fact but I've done this with other non-Autodesk applications).&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 11:18:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2693980#M65157</guid>
      <dc:creator>michael_robertson</dc:creator>
      <dc:date>2010-06-09T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694081#M65158</link>
      <description>&lt;P&gt;Hi Michael:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your suggestion using late binding might work.&amp;nbsp; I want my utility to work with basic autocad geometry like lines, arcs and polylines, and if the user is running Civil 3D, I want it to work with parcels as well.&amp;nbsp; I've added the Civil 3D references and it seems to run okay on a machine with only AutoCAD installed, as long as I don't try to access any Civil 3D objects.&amp;nbsp; I was hoping to see if anyone else has done something similar which would back up my own findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 13:42:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694081#M65158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-09T13:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694129#M65159</link>
      <description>&lt;P&gt;Of course, the next question is.... how to detect if Civil 3D is running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 14:34:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694129#M65159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-09T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694141#M65160</link>
      <description>&lt;P&gt;Are you running external to Acad (through COM) or internal via NETLOAD?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe either way you can use the Application.GetInterfaceObject method to see if Civil3d is installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you get a reference to the Acad application you can see if GetInterfaceObject("AeccXUiLand.AeccApplication.8.0") returns a value (8.0 is&amp;nbsp;C3D 2011, 7.0 is C3D 2010).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should throw a Try Catch around the attempt to handle any exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 14:59:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694141#M65160</guid>
      <dc:creator>michael_robertson</dc:creator>
      <dc:date>2010-06-09T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694256#M65161</link>
      <description>&lt;P&gt;Since you posted in the .NET forum, rather than the VBA/ActiveX forum, I assume you were talking about managed APIs, not COM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With COM it's quite different, and you might get some additional advice in the aforementioned forum or the Civil3D customiization forum.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 17:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694256#M65161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-09T17:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: One vb ap for both AutoCAD and Civil 3D... is it possible?</title>
      <link>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694291#M65162</link>
      <description>&lt;P&gt;Actually, I'm trying to make the entire app a managed app, however, Civil 3D is not yet fully converted over to .net api yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 18:05:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/one-vb-ap-for-both-autocad-and-civil-3d-is-it-possible/m-p/2694291#M65162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-09T18:05:08Z</dc:date>
    </item>
  </channel>
</rss>

