Discover the commands that lives beneath your Catia V5 Icon. We will give you a short introduction that will enable you to take advantage of these commands. Open directly into your favorite workbench populated with your current projects and run macros at start-up are just a few things you can easily setup. If you are an CAD-administrator, then this is a must-read!

 

Dissecting the Shortcut Parameters

Figure 1 - Right-Clicking on Catia Icon

Figure 1 – Right-Clicking on Catia Icon

The shortcut to Catia on your desktop or in your start menu contains several parameters. Let’s take a look at a common shortcut below. You will have access to this menu by right clicking your Catia icon and select properties. In Target, you will find the command for running Catia. A command can look like this:

“C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe” -env CATIA.V5-6R2016.B26 -direnv “C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow

In first glance, it is a little bit messy. First of all, we have a program and its path to start a DS application.

  • Catstart.exe is used for Catia, Delmia etc. and can also be used to run different tools like CATSoftwareMgt, CATNodelockMgt, CATOptionsMgt, catiaenv, setcatenv, delcatenv, lscatenv, chcatenv, readcatenv etc.
  • -run indicates to run the application
  • CNext.exe is Catia V5. If you are you running Delmia, you will have Delmia.exe instead.
  • -env is a parameter to indicate which environment file you will execute. This file has a lot of settings, which tells Catia how to behave and look like.
  • -direnv is the path to the environment file
  • -object is not shown here, but can be used to execute a particular file, like:
    “C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe -object C:\Catia\MyPart.CatPart” -env CATIA.V5-6R2016.B26 -direnv “C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow
  • -macro is not shown here either, but can be used to run a Catia macro without starting Catia in advance. A command can look like this:
    Figure 2 - Target in Properties

    Figure 2 – Target in Properties

    “C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe -object C:\Catia\MyPart.CatPart -macro C:\Catia_macros\Macro2.catvbs” -env CATIA.V5-6R2016.B26 -direnv “C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow

  • batch If you would like to run a macro in batch mode, the shortcut would look like something like this:
    “C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe -object C:\Catia\MyPart.CatPart -batch -macro C:\Catia_macros\Macro2.catvbs” -env CATIA.V5-6R2016.B26 -direnv “C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow
  • -workbench is used to run a specific workbench. If you like to always start in part design, you can add this to your shortcut: -workbench “Part Design”, so your complete shortcut can look like;
    “C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe -workbench Part Design” -env CATIA.V5-6R2016.B26 -direnv “C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow
  • -admin is used for running Catia in admin mode. Admin mode is to set parameters for all users in a multiuser environment. To run in -admin mode, you must have modified your environment file. Syntax of your shortcut will be:
    “C:\Program Files\Dassault Systemes\B26\win_b64\code\bin\CATSTART.exe” -run “CNEXT.exe -admin” -env CATIA.V5-6R2016.B26 -direnv ” C:\ProgramData\DassaultSystemes\P2_B26_CATEnv” -nowindow
  • -nowindow is to avoid a dos window being open during your V5 session. Note that if you close this dos window, your session will terminate.

We have given you a quick introduction to possibilities in your startup command. Go ahead and  become a power user by creating multiple icons directly connected to different projects/workbenches/marcos/environmentfiles to save time!