Running Several CATIA Versions with Different VBA Levels

You cannot concurrently run macros in multiple CATIA versions on the same machine. You need to first unregister the current version before registering the new version.

Note: There is no issue when using VBA 6.5 and VBA 7.1 on the same machine.

  1. Open a prompt window.
  2. Unregister the current CATIA version:
    1. Move to the installation directory of the CATIA version to be unregistered.
    2. Run the following command:

      catstart -run "DSYAdmRegSrv -unset"

  3. Register the CATIA version to be used:
    1. Move to the installation directory of the CATIA version to be registered.
    2. Run the following command:

      catstart -run "DSYAdmRegSrv -set ProductLine" env MyV6Environment -direnv MyV6EnvDirectory 
      Note: Wait for the command to complete before starting CATIA.