Update Associated Files

You can schedule tasks to update a SOLIDWORKS document and its referenced documents. The Update Associated Files task rebuilds the specified document and its referenced documents with any changes made since the last time the model was rebuilt.

Creating an Update Associated Files Task

To create an Update Associated Files task:

  1. Click Update Associated Files on the sidebar, or click Tasks > Update Associated Files.
  2. In the dialog box, type a new title for the task or leave the default in Task title.
  3. Specify the seed file in Seed file path name.
    The seed file defines the starting point for the Update Associated Files task. The seed file and any files referenced by it are updated. You control the scope of the search for referenced files when you specify the folders and file types to search and whether or not to limit the search to direct references only.
    1. Click Browse.
    2. Select the file type of the seed file in Files of type.
    3. Browse to the seed file, then click Open.

Scheduling the Task

You define the scope of the search for referenced documents in the Search Folders dialog box. Before continuing to the Search Folders dialog box, set the task schedule.

To schedule the task:

  1. Under Task Schedule, set:
    Option Description
    Running mode Specifies how often the task runs. Select Once, Daily, Weekly, or Monthly.
    Start time  
    Start date  
  2. Click Advanced if you want to change task options such as backup file location and time-out duration.
  3. Click Next.
  4. Define the scope of the search in the Search Folders dialog box.
  5. Click Finish.
    The task and its title, scheduled time, scheduled date, and status appear in the Tasks panel. The status of the task is Scheduled.
    To run a scheduled task, your computer must be on at the scheduled start time. The SOLIDWORKS Task Scheduler window does not need to be open. If your computer is off at the scheduled start time, the task runs when you turn your computer on.

    At the scheduled start time, the task is initiated. If the task acts on more than one file, a sub-task is generated for each file. If you selected Backup task files in Task Options, a backup copy of each file is saved to a .zip file. Then each file is updated. When the task completes, the status changes to Completed.

    After the task completes, click Completed to see the SOLIDWORKS Task Scheduler Report.
    If your backup files include Unicode file paths, use a zip file extraction application that supports UTF-8 encoding.

Specifying the Scope of the Search for Associated Files

Define the scope of the search for referenced documents by specifying folders to search, file types to search for, and whether or not to limit the search to direct references only.

To specify the scope of the search for associated files:

  1. Select the folders and types of files that you want to update:
    1. Click Add.
    2. Browse to the folder that contains the files to update, then click OK.
    3. Under File Type, click in the row that contains the folder you added, then select the types of files to update.
    4. Repeat steps a, b, and c to select additional folders.
  2. Select or clear Update direct references only:
    • If selected, updates only files that are directly referenced by the seed file.
    • If cleared, updates all files associated with the seed file, even if they are only referenced indirectly.

    Example of Update direct references only

    You have an assembly A1 that uses a part P1. The part P1 is also used by a second assembly A2. You make a change to A1 that affects a feature of P1. You schedule an Update Associated Files task and specify A1 as the seed file.

    If you select Update direct references only, the seed file, A1, updates when the task runs. P1 also updates, because it is directly referenced by A1.

    If you clear Update direct references only, A2 also updates when the task runs, because A1 references it indirectly through P1.

  3. Click Finish.
    The task and its title, scheduled time, scheduled date, and status appear in the Tasks panel. The status of the task is Scheduled.
    To run a scheduled task, your computer must be on at the scheduled start time. The SOLIDWORKS Task Scheduler window does not need to be open. If your computer is off at the scheduled start time, the task runs when you turn your computer on.

    At the scheduled start time, the task begins. If the task acts on more than one file, a subtask is generated for each file. If you selected Backup task files in Task Options, a backup copy of each file is saved to a .zip file. Then each file is updated. When the task completes, the status changes to Completed.

    After the task completes, click Completed to see the SOLIDWORKS Task Scheduler Report.
    If your backup files include Unicode file paths, use an extraction application for zip files that supports UTF-8 encoding.