<?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: List of loaded assemblies in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912340#M78637</link>
    <description>And with a little help from System.Reflection, you can scan each assembly for methods using the CommandMethodAttribute to get the command(s) it is exposing to AutoCAD...</description>
    <pubDate>Mon, 12 Mar 2007 17:05:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-12T17:05:14Z</dc:date>
    <item>
      <title>List of loaded assemblies</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912338#M78635</link>
      <description>APPLOAD shows the files that are currently loaded and where they are located.  Is there a was to access the names of loaded .NET dlls and their location?</description>
      <pubDate>Mon, 12 Mar 2007 14:46:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912338#M78635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T14:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: List of loaded assemblies</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912339#M78636</link>
      <description>AppDomain.CurrentDomain.GetAssemblies();&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;MATT s=""&gt; wrote in message news:5515294@discussion.autodesk.com...&lt;BR /&gt;
APPLOAD shows the files that are currently loaded and where they are located.  Is there a was to access the names of loaded .NET dlls and their location?&lt;/MATT&gt;</description>
      <pubDate>Mon, 12 Mar 2007 15:34:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912339#M78636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T15:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: List of loaded assemblies</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912340#M78637</link>
      <description>And with a little help from System.Reflection, you can scan each assembly for methods using the CommandMethodAttribute to get the command(s) it is exposing to AutoCAD...</description>
      <pubDate>Mon, 12 Mar 2007 17:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912340#M78637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: List of loaded assemblies</title>
      <link>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912341#M78638</link>
      <description>but not with lisp right?&lt;BR /&gt;
I care because my key-ins routine is lisp.  It creates two letter commands for various routines.&lt;BR /&gt;
I can test for lisp functions, arx's loaded, dvb, vlx, lots of things, but not .net assemblies it seems.&lt;BR /&gt;
&lt;BR /&gt;
It does not seem to matter too much as you can double load a .dll with no issues.&lt;BR /&gt;
so my key-in might be:&lt;BR /&gt;
(DEFUN C:CCM  () (princ "\nChange layer properties Modeless")&lt;BR /&gt;
  (setvar "cmdecho" 0)&lt;BR /&gt;
  (COMMAND "netload" "ChlayCoLtNetR16.dll")(command "Chlaycolt") &amp;lt;-- runs load command every time before running&lt;BR /&gt;
  (princ)&lt;BR /&gt;
)&lt;BR /&gt;
&lt;BR /&gt;
where as with lisp, I only load it if needed:&lt;BR /&gt;
(if (not c:chlaycolt)(load "chlaycoltr16.lsp")) then run...(c:chlaycolt)&lt;BR /&gt;
&lt;BR /&gt;
It seems that loading a .net assembly every time you run it is fine as the load statement gets ignored if already&lt;BR /&gt;
loaded.&lt;BR /&gt;
&lt;BR /&gt;
Tony Tanzillo &lt;TONY.TANZILLO&gt;&lt;BR /&gt;
|&amp;gt;AppDomain.CurrentDomain.GetAssemblies();&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - at - hunsaker - dotcom&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Mon, 12 Mar 2007 21:27:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/list-of-loaded-assemblies/m-p/1912341#M78638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T21:27:30Z</dc:date>
    </item>
  </channel>
</rss>

