19.6. Updating an Analysis Project Folder

Engineering Knowledge Manager

User's Guide | Chapter 19: Working With Analysis Projects |

19.5. Specifying Analysis Execution Settings |  | 19.7. Tutorial: Creating a Custom Analysis Project
Prev |  | Next

## 19.6. Updating an Analysis Project Folder

Once you have specified your execution settings, you can use the Update Analysis tool to update the simulation-based analysis for the project contained within the folder at any time. This tool will execute the process, or update the dependency diagram when the simulation is performed manually. For manual execution, you should update an analysis only after manual execution has been successfully completed and the updated files have been uploaded to the project in EKM.

To update an analysis project:

1. Select the Analysis Project folder or file, then select (Edit) > Update Analysis.

2. For manual execution (that is, the path to a process template has not been specified), the Update Analysis dialog box will open.

   Figure 19.5: Update Analysis Dialog Box - Manual Execution

   The time that you supply should be the last time you downloaded the analysis project for manual execution. It is not the current time or the time when execution completes. This is because this value of the time will be used by the dependency diagram to determine whether an input file has been modified since you last used it for execution. If you are creating the project for the first time, you will need to specify the time when you downloaded any input files required for the analysis. If the analysis does not have any input files, you can set the time to be the current time. If the analysis has never been executed, the default time will be displayed as `Jan 01, 1970 00:00 GMT`. This value may be different based on your time zone. For example, for US Eastern Time this value will be `Dec 31, 1969 19:00`.

3. If you selected a process template in your analysis execution settings, a process is automatically created and opens in the process view where you can monitor its progress. See Managing Processes for details. When you subsequently update the analysis using the Update Analysis tool, the process view will open and the current task will be displayed.

   While the project is being updated, the Update Analysis tool will be unavailable, and a processing icon appears next to the Analysis Project folder name in the file list window.

   Note: The update will not run if the process template contains any required variables. In this case an error message similar to the following will appear:

Additionally, you can extend the update logic by creating a custom Analysis Project type and specifying the type attribute `updateMacro` whose value is the `name` of the script to be executed when update analysis is invoked. The actual script is to be specified in the `script` tag of the custom type definition. See Defining Custom Analysis Projects in the Administration Guide for details.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.