<?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 Loader 2016 fails to load dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371887#M35825</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Gilles,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OK, thanks for the info on the RIbbon. Just being able to call the command is sufficient for me.&lt;/P&gt;&lt;P&gt;However when I type the command "H" it does not work, in my case it switches to HASH which is not the funciton in my dll. I first have to manually run NETLOAD, then load the dll, then type "H". That is what I was trying to automate via the bundle.&lt;/P&gt;&lt;P&gt;When I have a bundle, does it not automatically load NETLOAD and the dll specified in&amp;nbsp;ModuleName?&lt;/P&gt;&lt;P&gt;Greetings, DIrk&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2016 07:50:47 GMT</pubDate>
    <dc:creator>dirk.neethling</dc:creator>
    <dc:date>2016-06-08T07:50:47Z</dc:date>
    <item>
      <title>Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6367772#M35821</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wrote a dll (&lt;SPAN&gt;Civil3DInterface.dll&lt;/SPAN&gt;) which exports the Alignment object.&lt;/P&gt;&lt;P&gt;I would like this dll to be available for users.&lt;/P&gt;&lt;P&gt;The command is "H".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following PackageContents.xml file in the bundle did not load the dll or install a Ribbon in ACAD Civil 3D.&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;ApplicationPackage&lt;BR /&gt;SchemaVersion="1.0"&lt;BR /&gt;ProductCode="{9ff03155-a12a-43ad-9feb-9064beafbc66}"&lt;BR /&gt;AutodeskProduct="AutoCAD"&lt;BR /&gt;Name="Alignment Export"&lt;BR /&gt;Description="Alignment Export to Revit"&lt;BR /&gt;AppVersion="1.0.0" ProductType="Application"&amp;gt;&lt;BR /&gt;&amp;lt;Components&amp;gt;&lt;BR /&gt;&amp;lt;RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|ACADM" SeriesMin="R20.0" SeriesMax="R20.0"/&amp;gt;&lt;BR /&gt;&amp;lt;ComponentEntry AppName="Civil3DInterface" ModuleName="./Contents/Windows/2015/Civil3DInterface.dll"&lt;BR /&gt;AppDescription="." LoadOnCommandInvocation="True" LoadOnRequest="True"&lt;BR /&gt;LoadOnAutoCADStartup="True" &amp;gt;&lt;BR /&gt;&amp;lt;Commands GroupName="CADTOOLS"&amp;gt;&lt;BR /&gt;&amp;lt;Command Local="H" Global="H" /&amp;gt;&lt;BR /&gt;&amp;lt;/Commands&amp;gt;&lt;BR /&gt;&amp;lt;/ComponentEntry&amp;gt;&lt;BR /&gt;&amp;lt;/Components&amp;gt;&lt;BR /&gt;&amp;lt;/ApplicationPackage&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings, Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6367772#M35821</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2016-06-06T12:48:43Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6367928#M35822</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First you have to change the Patform attribute value.&lt;/P&gt;
&lt;P&gt;The value set in your code makes your app load on AutoCAD (Vanilla) and AutoCAD Mechanical:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Platform="AutoCAD|ACADM"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To only load with Civil 3d, you have to replace it with Civil3d:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Platform="Civil3d"&lt;/PRE&gt;
&lt;P&gt;Or to load with AutoCAD and Civil3d:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Platform="AutoCAD|Civil3d"&lt;/PRE&gt;
&lt;P&gt;Or all AutoCAD based products:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Platform="AutoCAD*"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second if you want to set the 'load reasons' to LoadOnCommandInvocation and LoadOnRequest you should set LoadOnStartup to Fales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more precision about the PackageContents file, you can read this topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 13:53:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6367928#M35822</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-06-06T13:53:22Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371844#M35823</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Gilles,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks for the link and the info. I've read the reference, hard to get it all right on the first try.&lt;/P&gt;&lt;P&gt;I fixed the xml, but the Add-Inn still does not appear in ACAD Civil3D, see screenshot attached.&lt;/P&gt;&lt;P&gt;Any other mistakes I am making?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;ApplicationPackage&lt;BR /&gt;SchemaVersion="1.0"&lt;BR /&gt;ProductCode="{9ff03155-a12a-43ad-9feb-9064beafbc66}"&lt;BR /&gt;AutodeskProduct="AutoCAD"&lt;BR /&gt;Name="Alignment Export"&lt;BR /&gt;Description="Alignment Export to Revit"&lt;BR /&gt;AppVersion="1.0.0" ProductType="Application"&amp;gt;&lt;BR /&gt;&amp;lt;Components&amp;gt;&lt;BR /&gt;&amp;lt;RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|Civil3d" SeriesMin="R20.0" SeriesMax="R20.0"/&amp;gt;&lt;BR /&gt;&amp;lt;ComponentEntry AppName="Civil3DInterface" ModuleName="./Contents/Windows/2015/Civil3DInterface.dll"&lt;BR /&gt;AppDescription="."&lt;BR /&gt;LoadOnAutoCADStartup="True" &amp;gt;&lt;BR /&gt;&amp;lt;Commands GroupName="CADTOOLS"&amp;gt;&lt;BR /&gt;&amp;lt;Command Local="H" Global="H" /&amp;gt;&lt;BR /&gt;&amp;lt;/Commands&amp;gt;&lt;BR /&gt;&amp;lt;/ComponentEntry&amp;gt;&lt;BR /&gt;&amp;lt;/Components&amp;gt;&lt;BR /&gt;&amp;lt;/ApplicationPackage&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:16:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371844#M35823</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2016-06-08T07:16:26Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371877#M35824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To have your plug-in appearing in the ribbon, you have to add a partial CUI file to your plug-in which defines this new tab.&lt;/P&gt;
&lt;P&gt;You can see &lt;A href="http://download.autodesk.com/media/adn/DevTV_Creating_a_Partial_CUI/DevTV_Creating_a_Partial_CUI.html" target="_blank"&gt;&lt;STRONG&gt;this video&lt;/STRONG&gt;&lt;/A&gt; about creating a partial CUI.&lt;/P&gt;
&lt;P&gt;You'll also have to add a ComponentEntry to the Package.Content.xml file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, your plug-in should work without the ribbon tab. You should be able to call your command directly from the command line.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:44:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371877#M35824</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-06-08T07:44:14Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371887#M35825</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Gilles,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OK, thanks for the info on the RIbbon. Just being able to call the command is sufficient for me.&lt;/P&gt;&lt;P&gt;However when I type the command "H" it does not work, in my case it switches to HASH which is not the funciton in my dll. I first have to manually run NETLOAD, then load the dll, then type "H". That is what I was trying to automate via the bundle.&lt;/P&gt;&lt;P&gt;When I have a bundle, does it not automatically load NETLOAD and the dll specified in&amp;nbsp;ModuleName?&lt;/P&gt;&lt;P&gt;Greetings, DIrk&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371887#M35825</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2016-06-08T07:50:47Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371918#M35826</link>
      <description>&lt;P&gt;Oopss!...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like there's something wrong&amp;nbsp; with SerieMin and SerieMax attributes. "20.0" stands for AutoCAD 2015. for AutoCAD 2016 it have to be "20.1".&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 08:07:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371918#M35826</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-06-08T08:07:46Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371941#M35827</link>
      <description>&lt;P&gt;Hello Gilles,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for that pointer, I fixed it to &lt;SPAN&gt;SeriesMin="R20.1" SeriesMax="R20.1"&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;But the problem unfortunatley persists, it is not loading NETLOAD and the dll.&lt;/P&gt;&lt;P&gt;Regards, dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;ApplicationPackage&lt;BR /&gt;SchemaVersion="1.0"&lt;BR /&gt;ProductCode="{9ff03155-a12a-43ad-9feb-9064beafbc66}"&lt;BR /&gt;AutodeskProduct="AutoCAD"&lt;BR /&gt;Name="Alignment Export"&lt;BR /&gt;Description="Alignment Export to Revit"&lt;BR /&gt;AppVersion="1.0.0" ProductType="Application"&amp;gt;&lt;BR /&gt;&amp;lt;Components&amp;gt;&lt;BR /&gt;&amp;lt;RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|Civil3d" SeriesMin="R20.1" SeriesMax="R20.1"/&amp;gt;&lt;BR /&gt;&amp;lt;ComponentEntry AppName="Civil3DInterface" ModuleName="./Contents/Windows/2015/Civil3DInterface.dll"&lt;BR /&gt;AppDescription="."&lt;BR /&gt;LoadOnAutoCADStartup="True" &amp;gt;&lt;BR /&gt;&amp;lt;Commands GroupName="CADTOOLS"&amp;gt;&lt;BR /&gt;&amp;lt;Command Local="H" Global="H" /&amp;gt;&lt;BR /&gt;&amp;lt;/Commands&amp;gt;&lt;BR /&gt;&amp;lt;/ComponentEntry&amp;gt;&lt;BR /&gt;&amp;lt;/Components&amp;gt;&lt;BR /&gt;&amp;lt;/ApplicationPackage&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 08:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371941#M35827</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2016-06-08T08:26:23Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371975#M35828</link>
      <description>&lt;P&gt;Just some shoots in the dark :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;as you use LoadOnAutoCADstartup, try to remove all the useless Commands node.&lt;/LI&gt;
&lt;LI&gt;check the &lt;A href="http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-33E75B9A-93AC-4FBF-B941-0F99A6AC3617" target="_blank"&gt;APPAUTOLOAD&lt;/A&gt; system variable value&lt;/LI&gt;
&lt;LI&gt;is the .bundle folder a valid &lt;A href="http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-5E50A846-C80B-4FFD-8DD3-C20B22098008" target="_blank"&gt;ApplicationPlugins folder&lt;/A&gt;?&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Jun 2016 08:46:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6371975#M35828</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-06-08T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6372014#M35829</link>
      <description>&lt;P&gt;Hello Gilles,&lt;/P&gt;&lt;P&gt;thanks for the tips.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, I removed the Commands node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;APPAUTOLOAD&amp;nbsp;&lt;/SPAN&gt;appears in several&amp;nbsp;places in the registry, I picked out the&amp;nbsp;first 2:&lt;/P&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D004\Applications\AcadAutoLoader\Commands AppAutoloader&lt;BR /&gt;-&amp;gt;AcAutoLoaderRes.dll:101&lt;/P&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R20.1\ACAD-F001\Variables\APPAUTOLOAD-&amp;gt;(Standard):14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume the value 14 means the combination of the following?&lt;/P&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="4"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class="p"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="p"&gt;Display all messages when loading plug-in applications&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="4"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class="p"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="p"&gt;Load plug-in applications when a new drawing is opened&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;the bundle is under:&lt;BR /&gt;C:\ProgramData\Autodesk\ApplicationPlugins, is named "Civil3DInterface.bundle", and contains the subdirectories specified in&amp;nbsp;PackageContents.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same result.&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;dirk&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 09:08:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6372014#M35829</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2016-06-08T09:08:55Z</dc:date>
    </item>
    <item>
      <title>Re : Autocad Loader 2016 fails to load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6372079#M35830</link>
      <description>&lt;P&gt;The APPAUTOLOAD value (you don't need to read the registry, you can directly get and set it from AutoCAD entering its name) is OK (14 means 2 | 4 | 8).&lt;/P&gt;
&lt;P&gt;The bundle folder seems OK.&lt;/P&gt;
&lt;P&gt;Sorry I do not find anything else possibly wrong...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 09:42:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-loader-2016-fails-to-load-dll/m-p/6372079#M35830</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-06-08T09:42:44Z</dc:date>
    </item>
  </channel>
</rss>

