<?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: Standrd check automation and use from standalone .net application in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6724017#M33692</link>
    <description>&lt;P&gt;1. Yes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I've never attempted using *.dws programmatically, thus not sure if it can be used with AutoCAD core console programmatically. If not, you would need to do the same as you would with RealDwg. But you are spared from implementing HostApplication required by RealDwg (because the core console/cloud server is the host application&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2016 13:55:51 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2016-12-02T13:55:51Z</dc:date>
    <item>
      <title>Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6720438#M33689</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is allowing users to upload DWG/DWF files to my web application and check them for standards violations (based on a predefined standards .DWS file). If the file has violations, I shall display the list of violations to the user. How can I achieve that? I am totally new to the subject and I am reading more about AutoCAD and its APIs, I could&amp;nbsp; come up with the following ideas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Develop an AutoCAD plugin and let it send a CheckStandards command to AutoCAD. I would need to configure the plugin to run on AutoCAD startup and develop my web app code to launch AutoCAD and pass it the path to the drawing file I want to check.&lt;/LI&gt;&lt;LI&gt;Try to find a 3rd party library which does just that. I searched here but found nothing relevant.&lt;/LI&gt;&lt;LI&gt;Try to run AutoCAD or the Batch Checker using command line and let it write output to a file which I shall monitor from my web app and read/parse it when it is fully written&lt;/LI&gt;&lt;LI&gt;Run AutoCAD desktop from my web application using its command line switch and pass it a script file which shall run the required command and what would be next?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which one would succeed? Would you take a different approach? Can you please provide much details about how to go about the selected approach?&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;</description>
      <pubDate>Thu, 01 Dec 2016 04:59:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6720438#M33689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-01T04:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6721430#M33690</link>
      <description>&lt;P&gt;Firstly, DWS can only be used in AutoCAD to do standard checking for *.DWG files, not *.DWF files. If DWF file is required target, you may have to look for something else other than AutoCAD, which can generate DWF but cannot actually open DWF (except for insert DWF file as overlay).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Secondly, since your are doing web application, using AutoCAD at non-attended server side is bad idea in most cases, because AutoCAD is designed as desktop app that requires constant user interaction. For example, simply opening a drawing could cause AutoCAD to pop up numeral messages that need user to respond. There are a lot of other issues, like concurrent user accesses, AutoCAD process causing memory fragment on the server...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your solution has to be web application, you can consider to use AutoCAD's core console EXE to process drawing; or use Autodesk's cloud services (accessing core console hosted by Autodesk's cloud with some assistant web API, basically); or license RealDwg to directly manipulate DWG file with AutoCAD involvement. However, all these approaches would require you to come up with your own "Standard Check" logics, which could be even harder than the web application itself, and you must have deep/thorough understanding of AutoCAD drawing database. If the web app's difficulty index is 1, doing your own effective "standard check" would have difficulty index of 10, IMO.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 14:46:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6721430#M33690</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2016-12-01T14:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6723455#M33691</link>
      <description>Thanks for the advice, so I got some questions based on your feedback:&lt;BR /&gt;1. If I go with the RealDWG option, that means I will need to think of a DWG file like a database (logically) and loop through the records or objects inside it and do the checking logic I need in my own .exe? This means I can have my rules in whatever place like a XML file or a database and check the drawing elements against them. Right?&lt;BR /&gt;&lt;BR /&gt;2. If I go with the core console or cloud, how that custom checking logic could be implemented? Please provide directions.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 02 Dec 2016 08:07:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6723455#M33691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-02T08:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6724017#M33692</link>
      <description>&lt;P&gt;1. Yes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I've never attempted using *.dws programmatically, thus not sure if it can be used with AutoCAD core console programmatically. If not, you would need to do the same as you would with RealDwg. But you are spared from implementing HostApplication required by RealDwg (because the core console/cloud server is the host application&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 13:55:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6724017#M33692</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2016-12-02T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6724258#M33693</link>
      <description>Perfect, this confirms my understanding. Appreciated.</description>
      <pubDate>Fri, 02 Dec 2016 15:28:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6724258#M33693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-02T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Standrd check automation and use from standalone .net application</title>
      <link>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6728246#M33694</link>
      <description>&lt;P&gt;You'll also want to have a look at the Autodesk Forge platform: &lt;A href="https://forge.autodesk.com/platform" target="_blank"&gt;https://forge.autodesk.com/platform&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 16:00:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/standrd-check-automation-and-use-from-standalone-net-application/m-p/6728246#M33694</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2016-12-05T16:00:07Z</dc:date>
    </item>
  </channel>
</rss>

