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

Copy Plugin when AutoCAD starts

3 REPLIES 3
Reply
Message 1 of 4
HJohn1
395 Views, 3 Replies

Copy Plugin when AutoCAD starts

Is there a way of copying newer versions of an application plugin bundle from a network folder into the application plugin folder when AutoCAD starts.  In VBA I used the acad.dvd project, to copy and load VBA projects.  Is there something similar for .NET bundles?  Thanks.

3 REPLIES 3
Message 2 of 4
mcicognani
in reply to: HJohn1

Not really, I'd suggest two methods:

- create a neutral plugin that would copy files from a network location and NETLOAD them by hand;

- create an external task to do this on machine startup, maybe check and copy only if needed;

 

The first method is good and fast if you have to netload dlls, a bit more complicated if you need lo load CUIx, but you can find some example around.

The second is better if you need to copy/upgrade more files, like libraries, databases or whatever else.

You can also use a mix of the two, depends on the frequency of upgrade you need.

Message 3 of 4
conormccartney3897
in reply to: HJohn1

Also, have a look at the built-in windows routine ROBOCOPY. Quite powerful, but with the right setup, it will compare the network copy to the local, then copy if newer, we use this method are my company.
Message 4 of 4
jeff
in reply to: conormccartney3897

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