Installing Custom Subassemblies

Once you’ve created a custom subassembly, you can install it on other AutoCAD Civil 3D users’ machines.

Note:

It’s simpler to create a subassembly package file to distribute to users than to install custom subassemblies manually. See Exporting Subassemblies Using a Package File.

To install a custom subassembly:

  1. Copy the compiled AutoCAD Civil 3D subassembly .dll  library to its destination directory. By default, libraries are located in <AutoCAD Civil 3D Install Directory>\Sample\Civil 3D API\C3DstockSubAssemblies.
  2. Copy the tool catalog .atc files to its destination directory. The tool catalog files are normally located in the directory. For information about creating these, see Creating a Tool Catalog ATC File.
  3. Copy optional files such as the image file representing the subassemblies or the help file to their destination directory. Images are normally located in , and help files are normally located in , although these can be any directory as long as the .atc file has the correct relative path information. For information about creating help files, see Creating Subassembly Help Files
  4. Copy the catalog cover page .html file to its destination. Usually this is the same location as the .atc file, although it can be any directory as long as the .atc file has the correct relative path information. For information about creating cover pages, see Creating a Tool Catalog Cover Page.
  5. Register the tool catalog using a registry (.reg) file. This .reg file must have the correct paths to the .atc file and the catalog image file from steps 2) and 3). For information about creating registry files, see Creating a Tool Catalog Registry File