Operation possible on drawings.

This operation allows you to:

  • To generate a new document (drawing) for each configuration in a specified directory.
  • Then replace the referenced documents with the new "single-configuration" documents created by the " Derive Configurations and Replace Components " operation.

The naming convention:

 

This operation does not open the documents in SOLIDWORKS unless the variants do not already exist.

Example:

 

I am expanding on the same example covered in the chapter “Variations in Configurations and Component Replacement” by adding the condition and operation needed to process the drawings. In the file selection, I am adding the drawings to be processed.

These drawings are given descriptive names (1-Hole Square, 2-Hole Square, etc.). However, the reference points to the "multi-configurations" file, and the configuration being used is specified in the view properties.

 


  • Step 1: I define the condition "If the drawing references a specific component" in the specified folder "E:\...\RPE\BIB," which contains components that use multiple configurations.

 

  • Step 2: I set up a task to save each component with the specified name. In this example, the files will be saved with the "Name" followed by the "Configuration Name."

 

Important: the directory defined in the condition must be identical to the location of the referenced documents.

As soon as the process is complete, I can see that the references now point to the "single-configuration" files that have been renamed according to the defined renaming rule.

 

A report on the processing performed can be displayed, specifying which operations were successful and which failed.