Skip to main content

Delete results in (multiple) SCIA Engineer files

This tool is a Windows Command script that iteratively opens an esa file (SCIA Engineer file), delete the results from the file and saves the file under a new name.

Instructions

The archive contains following files:

  • gvBatchDeleteResults.cmd                       --> the Windows Command script
  • gvBatchDeleteResults_AddNode.xml     --> the data file that is used when executing the script

Usage:

  1. Create an empty folder on your hard drive
  2. Copy the two file from this archive to this newly created folder
  3. Use a text-editor (like Notepad++) to edit the gvBatchDeleteResults.cmd and to configure which version of SCIA Engineer will be used to process the esa files
  4. Copy also the esa files that you want to process to the newly created folder
  5. Double-click gvBatchDeleteResults.cmd in this folder to run the Windows Command script

During the execution of the script, for each processed esa file, two new files will be created:

  • File "<name of the original esa file>_noRes.esa"     --> esa file without results
  • File "<name of the original esa file>.log"                   --> log file with information

Description of the script

The script consists of 5 parts. You can modify Part 02 and Part 05 to configure the behaviour of the script. The other parts of this script should not be modified.

Part 02

 

You have 2 options here:

  1. Option 1: if you want to process all esa files in the current folder, then use the FOR-loop. This loop will iterate over all esa files in the current folder.
    Example:
  2. Option 2: if you only want to process a subset of the esa files in the current folder, then you must call the DeleteResults-routine for each file separately.
    Example:

Part 05

Here you can specify the location and version of the esa_xml that you are going to use.

Important

Since you are opening and saving each esa file, the saved esa file (i.e. the file without the results) will be saved in the latest version of SCIA Engineer.