Operation possible on the drawings.

This operation allows :

  • Decline a new document (drawing) by configuration in a specified directory.
  • Then replace the referenced documents by the new ''mono-configuration'' documents created by the ''OperationDecline configurations and replace components''.

The naming rule :

 

The operation does not open the documents in SOLIDWORKS unless the declinations do not exist beforehand.

Example :

 

I complete the same example dealt with in the chapter ''Decline configurations and replace componentsI add the condition and the operation in order to process the drawings. I add, in the selection of the files, the drawings to be treated.

These drawings are named with an explicit name (Square 1 hole, Square 2 holes, etc...). On the other hand the reference points to the "multi-configurations" file and it is in the view properties that the configuration used is declared.

 


  • Step 1: I set the condition "If the plan references a particular component" in the specified folder "E:\...\RPE\BIB" containing components using multiple configurations.

 

  • Step 2: I set up an operation to save each of the components with the specified name. In this example the file save will be "Name" followed by "Configuration name".

 

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

As soon as the processing is finished, I can see that the references now point to the "mono-configuration" files renamed with the defined renaming rule.

 

A report of the treatment performed can be displayed specifying the operations performed successfully or unsuccessfully.