Example: Using Folders to Organize Components for a Plug-in

This example reflects what a package for a plug-in might look like using folders to organize components.

It is recommended to use an organized folder structure for larger applications as this can significantly speed up load times. The following is an example of a plug-in that contains multiple LSP files and resource files. The plug-in in this example is named OfficeSymbols and its folder structure might look something like:


  |- PackageContents.xml

  |- Contents

      |- OfficeSymbolsMain.lsp

      |- OfficeSymbolsUtilities.lsp

      |- Resources

          |- OfficeSymbols.dwg

          |- OfficeSymbols.cuix

          |- OfficeSymbols.ico

      |- Help

          |- OfficeSymbols.htm

Definition of the PackageContents.xml

<?xml version="1.0" encoding="utf-8" ?>
    Author="ABC Indoor CAD, Inc."
    ProductCode="[Add Unique Plug-in GUID Here]"
    Name="Office Symbols (contains Full version)"
    Name="ABC Indoor CAD, Inc."
    Phone="1 (555)-415-1234"
    PhoneEsp="34 5554 151234"
    <RuntimeRequirements SupportPath="./Contents/Support"/>