Thursday, January 23, 2020

To Access and Share Subassemblies

Custom subassemblies that have been created using .NET or VBA can be exported and imported using a package file. Subassemblies created from polylines cannot be included in a package file.
A package file contains all the files necessary for the custom subassemblies to work. Once the package file is created, you can import the package file contents into Autodesk Civil 3D using the ImportSubassemblies command, and copy the custom subassemblies directly into a tool palette or catalog. You can also share a package file with others. For example, you could attach a package file containing one or more subassemblies to an e-mail, or use other file transfer methods.
For more information on creating package files, see "Exporting Custom Subassemblies Using a Package File" in the Developer's Guide.

To copy subassemblies from a package file to a tool palette

  1. Click Home tabPalettes panel.
  2. Open the tool palette that you want to copy the subassemblies into. You may open an existing tool palette or create a new one.
  3. Click Insert tabImport panelImport Subassemblies
  1. Find.
  2. In the Import Subassemblies dialog box, click the folder icon to navigate to and select the package file.
  3. In the Import To section, click Tool Palette, and then select the desired tool palette in the drop-down list.
    Note: You can import the subassemblies to a tool palette and to a catalog at the same time. When you import subassemblies to a catalog, they automatically get imported to the My Imported Tools catalog. If the My Imported Tools catalog does not exist, it is automatically created.
  4. Click OK.
Note: Subassemblies created from polylines cannot be included in a package file. Package files are intended for sharing custom subassemblies that have been created using .NET or VBA.

To copy subassemblies from a package file to a catalog

  1. Click View tabPalettes panelContent Browser.
    Tip: When working with both the Autodesk Civil 3D workspace and the Content Browser, you may find it useful to have the Content Browser window displayed at all times. To do this, right-click in the Content Browser title bar and select Always On Top.
  2. Click Insert tabImport panelImport Subassemblies
  1. Find.
  2. In the Import Subassemblies dialog box, click the folder icon to navigate to and select the package file.
  3. In the Import To section, click Catalog Library/My Imported Tools.
    Note: You can import the subassemblies to a tool palette and to a catalog at the same time. When you import subassemblies to a catalog, they automatically get imported to the My Imported Tools catalog. If the My Imported Tools catalog does not exist, it is automatically created. Once the subassemblies are in the My Imported Tools catalog, you can then copy them to other catalogs.
  4. Click OK.
Note: Subassemblies created from polylines cannot be included in a package file. Package files are intended for sharing custom subassemblies that have been created using .NET or VBA.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home