Export of Arbitrary Files

An electrical project includes supplementary files such as documents, reports, and images. You can add these files to the SOLIDWORKS PDM vault control during check-in.

To add files, do the following:

  1. Right-click the Files tree and select Add.
  2. Optional: In the Add file export configuration dialog box, select the Other Object configuration.
    There are 10 configurations available for defining custom rules.
    The selected Other Object is added to the tree.
  3. Define a Naming Rule.
    The file name shown in SOLIDWORKS Electrical is its mark property. If you want the file name in SOLIDWORKS PDM to be the same as you see it in the design, use the {SWEFILE.Mark} formula. Use the formula {SWEFILE.SweNameWithoutExtension} if you want to use the real file name from the SOLIDWORKS Electrical data directory.
  4. Optional: Specify a subfolder name to store files.
  5. Define a File Mask.
    A File Mask filters project files to be added to the SOLIDWORKS PDM vault. You can use file name wildcards separated by the pipe character (|) to specify which files to export.
    Avoid scenarios where the same file matches multiple export rules. The app does not support this and the check-in fails.
Example of the configuration used to export all JPEG files:
  • Naming Rule: {SWEFILE.Mark}
  • Sub folder: JPEG
  • File Mask: *.jpg|*.jpeg