Updating CATIA V5 files after Modifying a Product Structure

You can use a batch processor to update CATIA V5 files, after modifying a product structure. The batch processor will launch CATIA V5, connect to the server, open the product structure, and then update it. The changes are saved in the 3DEXPERIENCE platform.


Before you begin:
  • You should execute the batch processor only from a Windows computer where CATIA V5 is installed.
  • The hot fix of XCADDesignConnectors should be installed on the system, from where the batch processor will be executed.
  1. Update the ENOV5MABatchProcPSUpdate.bat file, that is located at <XCADDesignConnectorsInstallationFolder>\win_b64\code\command folder. In this file, set the values for the following:
    • @set CATIA_INSTALL_DIR=<CATIAV5InstallFolder>
    • @set ENV_FILE_NAME=<CATENV file name>
    • @set ENV_FILE_LOCATION=<CATEnv file location>

    You should create a dedicated CATEnv file, to ensure that all the CATIA V5 settings related to background processing are centralized at one location.

  2. Update the DECBatchProcessorStart.bat file that is located at <XCADDesignConnectorsInstallationFolder>\win_b64\code\command folder. In this file, set JAVA_HOME=<JRE Home>

    Enter an appropriate value for <XCADConnectorsInstallationFolder>.

  3. Update the value of the checkout directory, and the version in the DECBatchProcessorConfig.xml file, that is located at <XCADDesignConnectorsInstallationFolder>\win_b64\reffiles\DECBatchProcessor folder. To do this:
    • Open the DECBatchProcessorConfig.xml file in a text editor.
    • Identify the operation tag with the name "BackgroundUpdateStructure".
    • Look for the tag checkoutdirectory within the tag <operation name="BackgroundUpdateStructure">
    • Specify the path of the check out folder here. In this folder, the files are temporarily checked out by the batch processor. <checkoutdirectory>PathToCheckoutFolder</checkoutdirectory>
  4. Start the batch processor by running the DECBatchProcessorStart.bat file. On running this batch file, IEFClientWorkspaceService.exe will be invoked, and the Login dialog box appears. Enter the login credentials for the batch administrator.
    Note: While using a batch processor:
    • A batch administrator must have the Leader role in your collaborative space, and organization.
    • Once the batch administrator user is validated, the batch processor will start processing the messages one by one.