.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to load Multiple Dll's In AutoCAD 2017

2 REPLIES 2
Reply
Message 1 of 3
prakasht66
598 Views, 2 Replies

How to load Multiple Dll's In AutoCAD 2017

Hi All,

 

Im using C#.net for dll creation.I have successfully modified all AutoCAD 2013 dll's to work in AutoCAD 2017 .But i got a problem with DLL loading time  in AutoCAD.I use a batch file to copy all  dll's to "%APPDATA%Autodesk\ApplicationPlugins\ "folder then i launch AutoCAD through the same batch file .But when its launched  it is loading dll's one by one, so its taking more time.In AutoCAD 2013 also i had the same issue.But IExtensionApplication  call fixed the issue.I use PackageContents.xml  As shown below,

 

<ComponentEntry
AppName="Test"
ModuleName="./Contents/Test.dll"
AppDescription="Test-ABC"
startupcommand ="True" >
<Commands GroupName="PLUGINS">
<Command Local="Test" Global="Test" startupcommand ="True"/>
</Commands>
</ComponentEntry>

 

So ,What i need to do inorder to load all DLL's while launching AutoCAD 2017 ?

 

FYI..I use 4 dll's and same no of PackageContents.xml's

 

Please help me,Thanks

 

 

Prakash.T

 

 

2 REPLIES 2
Message 2 of 3
Keith.Brown
in reply to: prakasht66

The first thing I would ask is do you have to load them at startup? Can you demand load them instead? It is the preferred way of doing things although some advanced plugins do require immediate loading.
Message 3 of 3
prakasht66
in reply to: Keith.Brown

yes , i need to load all DLL's at startup.i also analyzed like when i keep only one DLL in ApplicationPlugins folder ,it loads immediately.So why the same is not happening when i keep all DLL's in the same location.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost