2013
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
target multiple operating systems and product releases since the parameters
of your plug-in are defined in the XML file of the package. A BUNDLE can be
used as a replacement to creating complex installer scripts when deploying a
plug-in.
The plug-in defined by each package is loaded into AutoCAD by placing it in
the /Applications/Autodesk/ApplicationAddins folder on your local drive. When
AutoCAD starts, the ApplicationAddins folder is checked for plug-in applications.
The packages found are automatically registered and loaded based on the
metadata in the XML file of each package.
Install Plug-in Packages
A package can be deployed using an installer or manually copying the files
and folder structure to the ApplicationAddins folder.
Loading Plug-ins
By default, plug-ins are automatically registered with AutoCAD and when a
new plug-in is installed during the current session. The load behavior for
plug-ins is controlled with the APPAUTOLOAD system variable. When
APPAUTOLOAD is set to 0, no plug-ins are loaded.
Uninstall Plug-in Packages
A package can be uninstalled by removing the appropriate folder with a .bundle
extension from the ApplicationAddins folder.
PackageContents.xml Format
The PackageContents.xml file contains information about the application
package, including information about the developer that authored it.
The information contained in the file can be used to specify which
AutoCAD-based products and releases the plug-in can be loaded into, their
supported Operating System, and how the application should be loaded, such
as load on startup or when a command is invoked.
The following elements are used to define and describe the plug-in:
ApplicationPackage (page 93)
CompanyDetails (page 95)
Components (page 96)
90 | Chapter 7 Introduction to Programming Interfaces