<?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: Autocad.net add-ins question? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-net-add-ins-question/m-p/2829399#M63032</link>
    <description>&lt;P&gt;There is no simple autocad command for listing netloaded assemblies, but this post from Through The Interface:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2007/03/getting_the_lis.html" target="_blank" rel="nofollow"&gt;http://through-the-interface.typepad.com/through_the_interface/2007/03/getting_the_lis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That pretty much covers how to do it with code.&amp;nbsp; The example actually drills down one step further and lists the commands defined by each assembly, but it should be easy enough to just list the assemblies, if that is what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as the lifetime of the assembly, once a .dll is loaded it will be available until the AutoCAD application window is closed.&amp;nbsp; (drawings can be opened and closed, and the app will still be loaded)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are&amp;nbsp;a couple of&amp;nbsp;ways to cause your .dll to be loaded automatically on AutoCAD startup, or&amp;nbsp;on command invoke.&amp;nbsp; One simple way is to use a .mnl file with your menu and netload your .dll from there.&amp;nbsp; That will cause your dll to be loaded whenever your menu is loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This post, also from&amp;nbsp;Through&amp;nbsp;The Interface, describes the Registry entries required to "Demand Load" your&amp;nbsp;dll, either on Startup or by command invoke.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html" target="_blank" rel="nofollow"&gt;http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2010 20:22:33 GMT</pubDate>
    <dc:creator>chiefbraincloud</dc:creator>
    <dc:date>2010-11-17T20:22:33Z</dc:date>
    <item>
      <title>Autocad.net add-ins question?</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-net-add-ins-question/m-p/2827769#M63031</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can see&amp;nbsp;what net. assembly's dll's&amp;nbsp;are loaded in autocad?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once a&amp;nbsp;autocad.net&amp;nbsp;dll is loaded in autocad it will be always avaible for every session and on every autocad startup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:24:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-net-add-ins-question/m-p/2827769#M63031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-16T16:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Autocad.net add-ins question?</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-net-add-ins-question/m-p/2829399#M63032</link>
      <description>&lt;P&gt;There is no simple autocad command for listing netloaded assemblies, but this post from Through The Interface:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2007/03/getting_the_lis.html" target="_blank" rel="nofollow"&gt;http://through-the-interface.typepad.com/through_the_interface/2007/03/getting_the_lis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That pretty much covers how to do it with code.&amp;nbsp; The example actually drills down one step further and lists the commands defined by each assembly, but it should be easy enough to just list the assemblies, if that is what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as the lifetime of the assembly, once a .dll is loaded it will be available until the AutoCAD application window is closed.&amp;nbsp; (drawings can be opened and closed, and the app will still be loaded)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are&amp;nbsp;a couple of&amp;nbsp;ways to cause your .dll to be loaded automatically on AutoCAD startup, or&amp;nbsp;on command invoke.&amp;nbsp; One simple way is to use a .mnl file with your menu and netload your .dll from there.&amp;nbsp; That will cause your dll to be loaded whenever your menu is loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This post, also from&amp;nbsp;Through&amp;nbsp;The Interface, describes the Registry entries required to "Demand Load" your&amp;nbsp;dll, either on Startup or by command invoke.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html" target="_blank" rel="nofollow"&gt;http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:22:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-net-add-ins-question/m-p/2829399#M63032</guid>
      <dc:creator>chiefbraincloud</dc:creator>
      <dc:date>2010-11-17T20:22:33Z</dc:date>
    </item>
  </channel>
</rss>

