<?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: Running .dll CommandMethods in accoreconsole in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010764#M2656</link>
    <description>&lt;P&gt;I'd like to use these Factory Design Utilities API via the accoreconsole.exe and want to confirm if this is possible or not. Is that something I should be asking on a different forum?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 04:58:35 GMT</pubDate>
    <dc:creator>ngnguyen89LYX</dc:creator>
    <dc:date>2024-09-10T04:58:35Z</dc:date>
    <item>
      <title>Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13004440#M2652</link>
      <description>&lt;P&gt;Hi AutoDesk Team,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use accoreconsole.exe to 'netload' a .dll file and run a CommandMethod.&lt;BR /&gt;The CommandMethod in C# .NET is just a Console.WriteLine().&lt;BR /&gt;But my accoreconsole.exe just crashes and exists after running the CommandMethod.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It works when I open up AutoCAD Architecture, run the netload command to import the .dll file and run the CommandMethod. Just not in the accoreconsole.exe.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there a way I can make this work for accoreconsole.exe as well?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 08:33:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13004440#M2652</guid>
      <dc:creator>ngnguyen89LYX</dc:creator>
      <dc:date>2024-09-06T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13004556#M2653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;To be able to run .NEt custom commands in the accoreconsole, the commands have to be created only referncing AcDbMgd.dll and AcCoreMgd.dll, not Acmgd.dll. See &lt;A href="https://help.autodesk.com/view/OARX/2025/ENU/?guid=AUTOCAD_CORE_CONSOLE" target="_blank" rel="noopener"&gt;this topic&lt;/A&gt; (specifically APIs Limitations).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 09:53:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13004556#M2653</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-09-06T09:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010715#M2654</link>
      <description>&lt;P&gt;Thank you for the information and documentation link,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my .NET custom command, if I wanted to run Factory Design API,&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/FDU/2025/ENU/?guid=FDU_API_Application_Programming_html" target="_blank"&gt;Factory Design Utilities 2025 Help | Factory Design API | Autodesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd need to get instances of&amp;nbsp;Autodesk.AutoCAD.ApplicationServices.Document (for the layout parameter) to run commands from Autodesk.Factory.PublicAPI.API like AddAssetInstances, UpdateAssetInstances, DeleteAssetInstances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my understanding, not being able to refer to&lt;SPAN&gt;&amp;nbsp;Acmgd.dll will prevent me from creating these instances and using these APIs. Does that mean I wont be able to use the above linked Factory Design API via accoreconsole?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 04:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010715#M2654</guid>
      <dc:creator>ngnguyen89LYX</dc:creator>
      <dc:date>2024-09-10T04:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010760#M2655</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16037315"&gt;@ngnguyen89LYX&lt;/a&gt;&amp;nbsp; a écrit&amp;nbsp;:&lt;BR /&gt;
&lt;P&gt;From my understanding, not being able to refer to&lt;SPAN&gt;&amp;nbsp;Acmgd.dll will prevent me from creating these instances and using these APIs. Does that mean I wont be able to use the above linked Factory Design API via accoreconsole?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I never used Factory Design Utilities, but if it requires AcMgd.dll, you cannot use it via accoreconsole.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 04:53:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010760#M2655</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-09-10T04:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010764#M2656</link>
      <description>&lt;P&gt;I'd like to use these Factory Design Utilities API via the accoreconsole.exe and want to confirm if this is possible or not. Is that something I should be asking on a different forum?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 04:58:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13010764#M2656</guid>
      <dc:creator>ngnguyen89LYX</dc:creator>
      <dc:date>2024-09-10T04:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running .dll CommandMethods in accoreconsole</title>
      <link>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13018320#M2657</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Factory API was designed and tested for in-CAD use.&amp;nbsp; AcCoreConsole was not considered.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 06:29:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/running-dll-commandmethods-in-accoreconsole/m-p/13018320#M2657</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2024-09-13T06:29:16Z</dc:date>
    </item>
  </channel>
</rss>

