How do you declare the configuration of SOLIDWORKS files and update the assemblies and drawings that reference them?


In Integration it is enough to :

  • Create an action
  • Add a condition - "If the assembly contains a particular component or a component included in a folder" with as location, the folder path of the files to be declined.
  • Add an assembly operation - "Decline configurations and replace components" with as directory of declined components, the new directory of declined components and as location of files to be replaced, the original directory of library components.


To process the drawings, you have to repeat these steps with a drawing operation (the already declined files will just be replaced in the corresponding drawings.


You can download the files used for this example (SOLIDWORKS 2020 version) as well as an example file of an Integration action (Integration 2020 version).

Here is an animation of the manipulations to be performed: