CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3258 

CAD tip CAD tip # 7944:

Question CAD 
 %  platform  category 
Q - question

Automatic installation of AutoCAD 2012 add-on applications.

A - answer To simplify distribution of add-on modules (.NET, ARX, VisualLISP), AutoCAD 2012 (and higher) contains a new mechanism for easy automatic loading of applications and their menus (ribbons), including demand-loading (by typing a command from the respective application).

Application developers can distribute a specially formatted package ".bundle" containing all neccessary components of the given application, plus a XML control file PackageContents.xml. The structure of this XML file can be found in the documentation for developers (ADN).

The ".bundle" folder (e.g. "MyApplication.bundle") can be just copied as a subfolder to the folder:

C:\Program Files\Autodesk\ApplicationPlugins

(for all users) or to user-specific folders (in XP):

C:\Documents and Settings\{usrname}\Application Data\Autodesk\ApplicationPlugins

or (in Win7/Vista):

C:\Users\{usrname}\AppData\Roaming\Autodesk\ApplicationPlugins

The add-on application (here: "MyApplication") will be then loaded automatically. You can load such applications not only on launching AutoCAD, but also during a drawing session. Detecting ("sniffing") of the new/current status of the ".bundle" subfolders can be invoked manually, just by starting the APPAUTOLOADER command. This command loads any program modules, extends your AutoCAD menu and "teaches" your AutoCAD new functions and commands defined in the respective application.

The same command can also list all currently loaded ".bundle" modules. This autoloading mechanism is controlled by the APPAUTOLOAD variable.

ACAD2013ACAD2012
100% *  CAD 
29.4.2011    10355×  
Prices - CAD eShop:
applies to: AutoCAD 2013 · AutoCAD 2012 ·

See also:
Tip 12526:BufZone - buffer zones and wipeouts around AutoCAD line objects.
Tip 12479:PkLength - export line lenghts to Excel.
Tip 12448:Pan view (change view target) in multiple viewports of a layout.
Tip 12350:PkArea - acreage of closed areas from DWG to Excel.
Tip 12296:Loading a point cloud from a series of photos to Revit.


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist