Location

For the generation location, we use the field generation tool to retrieve variables and thus build a specific rule based on the selected structure option.
You can also click on the
to define a location manually and then add a :

In the example above, if the value of the Project property is " Visiativ," then the file will be copied to " D:\SamplesmyCADtools2021\ProjectManager\Visiativ "
If you select either " Flatten into a single folder " or " Preserve the entire folder structure " as the structure option, the value of the Project property of the top assembly is used.
Structure option:
- Flatten into a single folder: This option combines all duplicate files into a single folder.
- Preserve the entire folder structure: This option will recreate the Windows folder tree, thereby restoring the same folder structure in the destination location. The process starts from the first shared folder.
→ 
- Create a dynamic location based on the value of a property defined for each component: This option allows you to create a dynamic location for each file based on the value of a defined variable.
Example: 
In this example, we want to create a subfolder for each value of the Project property. This way, files with the same value for the Project property will go into the same folder, and those with a different value will go into a different folder, and so on...
In our assembly and the files that make up this assembly, the Project property is set to 290 in some documents and 500 in others.
→ 
If you start the duplication process, two subfolders—290 and 500 — will be created in the " D:\SamplesmyCADtools2021\ProjectManager" location, with the documents automatically distributed between them:
