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: 12371

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

See also:
Tip 14056:How to move blocks in the Z axis to the terrain model surface?
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 14017:Voronoi diagrams in AutoCAD.
Tip 13977:How to publish a PDF to the same folder as a DWG drawing in AutoCAD?
Tip 13967:Drawing polylines using arbitrary length units - 2DpolyC.


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:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


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