Configuring Environment for Windows 64 bit

Use the following steps to configure environment for Windows 64 bit system.


Before you begin:
  • Ensure that your integration system is not configured using MX_CATIA_INSTALL_DIR variable. This feature does not work for systems that are configured using MX_CATIA_INSTALL_DIR variable.
  • Ensure that the mxlaunchCATIAV5.bat file is located in the path specified for the PATH environment variable.
  1. Copy the mxlaunchCATIAV5_Sample.bat located in <CATIA Installation Directory>\ win_b64\reffiles to the system path and rename it to "mxlaunchCATIAV5.bat".

  2. Open the BAT file (mxlaunchCATIAV5.bat) in edit mode and enter the following information in the batch file:

    1. Provide the location where CATIA V5 is installed in the variable CATIA_INSTALL_DIR.
    2. Provide the name of the environment file to be used in the variable ENV_FILE_NAME.
    3. Provide the location of the environment file to be used in the variable ENV_FILE_LOCATION.

      Ensure that you do not enter any extra spaces at the end of each line.

      A sample mxlaunchCATIAV5_Sample.bat for Windows 64 bit is,

      @set CATIA_INSTALL_DIR=C:\Program Files\Dassault Systemes\B18
      
      @set ENV_FILE_NAME=CATIA.V5R18.B18
      
      @set ENV_FILE_LOCATION=C:\Documents and Settings\All Users\Application
      
      Data\DassaultSystemes\CATEnv
      
      @REM Please do not edit below this line
      
      @IF "%2"==""-action:connect"" (
      
      start "CATIA V5" "%CATIA_INSTALL_DIR%\ win_b64\code\bin\CATSTART.exe"
      
      -run "CNEXT.exe -e V6CATIAConnectHdr" -env "%ENV_FILE_NAME%" -direnv
      
      "%ENV_FILE_LOCATION%"
      
      )
      
      @IF "%2"==""-action:checkout"" (
      
      start "CATIA V5"
      
      "%CATIA_INSTALL_DIR%\ win_b64\code\bin\CATSTART.exe" -run "CNEXT.exe 
      -e
      
      V6CATIASilentCheckoutCmdHdr" -env "%ENV_FILE_NAME%" -direnv
      
      "%ENV_FILE_LOCATION%"
      
      )
      
      echo returned
      

  3. Run the mxlaunchCATIAV5.bat batch file.