<?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: Choosing a platform for .NET automation in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830877#M33038</link>
    <description>&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;I'm thinking a plugin or something to that effect is going to be most appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 18:08:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-25T18:08:08Z</dc:date>
    <item>
      <title>Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6828764#M33032</link>
      <description>&lt;P&gt;Hi, new to the forums and hoping for some guidance.&lt;/P&gt;&lt;P&gt;We are looking to add some automation to our DWG creation/management processes, but are not sure what API/SDK/etc is appropriate.&lt;/P&gt;&lt;P&gt;To get started our first goal would be to be able to open DWG files and read/write certain parts such as the "title blocks" sections text contents.&lt;/P&gt;&lt;P&gt;We have existing C# .NET custom desktop applications (WPF) we are wanting to add the features to and the users would also have AutoCAD installed on the machines.&lt;/P&gt;&lt;P&gt;We also want to avoid taking on a huge licensing fee such as with "RealDWG" so we are looking for the lightest footprint for our desktop applications memory usage and our budget. Preferably something that comes with AutoCAD as we already pay for many of those licenses.&lt;/P&gt;&lt;P&gt;We are using AutoCAD and AutoCAD LT 2016, soon to go to 2017 (we upgrade every 1-2 years). Another thing I was hoping (low priority convenience) would be that would wouldn't have to redeply our custom program every time with new DLL's... if the new AutoCAD software is somewhat backwards compatible with older versions of the chosen API/SDK (maybe with breaking changes only requiring it)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my limited research I was leaning towards ObjectARX or ActiveX, whichever is lighter footprint and better performance if they both (or another) can achieve the basic needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Zack&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 23:16:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6828764#M33032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-24T23:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6828817#M33033</link>
      <description>&lt;P&gt;You cannot automate AutoCAD LT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without RealDWG you are limited to working with a plugin for AutoCAD or driving it from the outside.&amp;nbsp; The former is the usual preference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have existing C# .NET custom desktop applications (WPF) we are wanting to add the features to and the users would also have AutoCAD installed on the machines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... is a bit confusing to me.&amp;nbsp; Do you have stand-alone EXE applications which already drive AutoCAD?&amp;nbsp; Or WPF-using plug-ins?&amp;nbsp; Or...?&amp;nbsp; You cannot use the managed dotNET API outside of AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to deploy different DLLs with some versions, typically when there is a "binary compatibility break".&amp;nbsp; For example, I've run the same DLL with AutoCAD 2008 and 2011, but had to rebuild for 2014.&amp;nbsp; The rebuild was basically nothing, re-pathing a couple of dependencies (and a few&amp;nbsp;improvements while I was in there).&amp;nbsp; Its always a good idea to have *some* kind of standard method for rolling out DLLs to users, whether its a stand-alone updater EXE (what I use), a master load plug-in which checks for newer versions before loading them (somewhat common, and can also include some internal licensing/security checks), or a simple BAT routine that runs every time&amp;nbsp;the user logs in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ObjectARX is fairly heavy to implement, more so than the managed C# dotNET API.&amp;nbsp; Unless you have a full fledged plug-in application in mind&amp;nbsp;the latter is probably better.&amp;nbsp; ActiveX/COM should probably be avoided if possible; if you are driving AutoCAD from an external EXE that's your only option.&amp;nbsp; You might want to consider LISP (yes, yes, I know - heresy!&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; ) but it is *very* light, quite capable within its scope of light automation, is fairly version-proof, and is easier to host and load from a central server location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also want to have a peek at the Core Console.&amp;nbsp; Its a headless (no user interface) version of AutoCAD which supports some limited scripting.&amp;nbsp; Ideal for fully automated, behind-the-scenes type tasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 23:41:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6828817#M33033</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2017-01-24T23:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830269#M33034</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... I was leaning towards ObjectARX or ActiveX, whichever is lighter footprint and better performance if they both (or another) can achieve the basic needs...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When you say ObjectARX, I hope you mean ObjectARX .NET APIs, not ObjectARX C++ APIs. When .NET API first came out more than 10 years ago, it was merely a .NET wrappers of ObjectARX, hence "ObjectARX .NET API". While it is still the case mostly, Autodesk said it would not limit .NET API only as OBjectARX wrapper. There could be .NET APIs built on its own (without ObjectARX counterparts), and many AutoCAD verticals have already done so, such as AutoCAD Map's platform API are .NET only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While you probably can get most, if not all, of your needs done on .NET platform locally (most likely in the form of AutoCAD plug-ins, very occasionally external&amp;nbsp;exe automation via COM/ActiveX - I'd avoid it whenever it is possible), Autodesk's cloud services (or other cloud services) may be worth taking into account.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:04:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830269#M33034</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2017-01-25T15:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830438#M33035</link>
      <description>&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;Let me better clarify our initial task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From our existing desktop app (standalone exe, using C#) we are wanting to basically do the following:&lt;/P&gt;&lt;P&gt;1. Open a DWG file&lt;/P&gt;&lt;P&gt;2. Read from or write to the title blocks (according to business logic in our standalone program)&lt;/P&gt;&lt;P&gt;3. Save (overwrite) the DWG file with the changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Preferably we would not be controlling any autocad instances or even needing autocad installed/running to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somewhere down the road this might include reading/editing more than just title blocks... probably start over at that point somewhat if it requires a heavier API/SDK to do so, but just an FYI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other situations we have dealt with in the past such as adding interop DLL's to automate importing data from Excel we have done some controlling of applications outside of our standalone but it does get a little hairy so something that would involve just our program and the physical DWG files would be preferred but not mandatory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically just looking for whatapi/sdk/etc would give us this ability so we can weight the differences.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:05:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830438#M33035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830440#M33036</link>
      <description>&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;Let me better clarify our initial task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From our existing desktop app (standalone exe, using C#) we are wanting to basically do the following:&lt;/P&gt;&lt;P&gt;1. Open a DWG file&lt;/P&gt;&lt;P&gt;2. Read from or write to the title blocks (according to business logic in our standalone program)&lt;/P&gt;&lt;P&gt;3. Save (overwrite) the DWG file with the changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Preferably we would not be controlling any autocad instances or even needing autocad installed/running to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somewhere down the road this might include reading/editing more than just title blocks... probably start over at that point somewhat if it requires a heavier API/SDK to do so, but just an FYI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other situations we have dealt with in the past such as adding interop DLL's to automate importing data from Excel we have done some controlling of applications outside of our standalone but it does get a little hairy so something that would involve just our program and the physical DWG files would be preferred but not mandatory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically just looking for whatapi/sdk/etc would give us this ability so we can weight the differences.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:06:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830440#M33036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T16:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830820#M33037</link>
      <description>&lt;P&gt;Ah.&amp;nbsp; Well...&amp;nbsp; uhm... given that, I'd be sorely tempted&amp;nbsp;to recommend&amp;nbsp;you start over, re-using the&amp;nbsp;concept from your existing application.&amp;nbsp; Otherwise if you are constrained to operating outside of&amp;nbsp;AutoCAD&amp;nbsp;you're required to either have an AutoCAD session&amp;nbsp;*and* be limited to the ActiveX/COM interface, or you need to purchase RealDWG.&amp;nbsp; There is simply no other way around it, title blocks or otherwise.&amp;nbsp; Without the RealDWG license you really, really want to be doing stuff from inside the AutoCAD application rather than from the outside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;mentioned the cloud services, and I keep forgetting about them.&amp;nbsp; They call it the "Forge" platform - not everyone's can of beans but potentially very cool in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 17:45:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830820#M33037</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2017-01-25T17:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a platform for .NET automation</title>
      <link>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830877#M33038</link>
      <description>&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;I'm thinking a plugin or something to that effect is going to be most appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/choosing-a-platform-for-net-automation/m-p/6830877#M33038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T18:08:08Z</dc:date>
    </item>
  </channel>
</rss>

