CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3060

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    10715×  
Prices - CAD eShop:
applies to: AutoCAD 2013 · AutoCAD 2012 ·

See also:
Tip 12962:True 3D models of threads in Inventor 2022 and 2021.
Tip 12933:Purging small objects from a DWG drawing - PurgeSmall.
Tip 12926:How to import point coordinates from Excel to AutoCAD?
Tip 12914:Geo2GPS - web map from any coordinate of an AutoCAD DWG.
Tip 12837:RenameCSV - rename layers, blocks, layouts, views, linetypes using Excel tables


Back   All CAD Tips



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