Creating, Managing and Deploying Knowledge Applications Resources

This section describes the recommended methodology to create and deploy an application.

We assume that:
  • A CATIA version (install, download, release source) is located in a <CATIA_folder> folder, where <CATIA_folder> may be:
    • c:\Program Files\Dassault Systemes\V5R16
    • e:\users\yyy\Download\server\CXR16
    •  \\server\CXR16.
  • The architect builds only one application.

Creating the Environment

The very first thing to do consists in creating a directories structure. Data must be stored in the appropriate directories and environment variables must be properly set.

  1. Create a directories structure identical to the one below.

    Note that you do not necessary have to create the structure below if you do not work with SCM, the Runtime view structure may be sufficient.
       
  2. From the Start menu, select Programs>CATIA>Tools>Environment Editor V5R16.

  3. Select Environment>New from....

  4. Check Add a new path to this environment and enter a new path in the NewPath field.

  5. Enter the name of the application you want to create and click OK when done.

You are now ready to create your application.

Creating the Application

Create your application.

Deploying the Application

  1. The administrator installs the CATIA version he used to develop his application on all client computers or on a server.

  2. The administrator copies the <OS> (directories structure and content), and more generally, the whole Runtime part of his directories structure on the client computer or on the server.

  3. The administrator sets the required variables:

    • If he copies the content ("code"/"resources"/ directories) of the <OS> structure under the corresponding <CATIA_folder>\<OS>, he does not modify any environment variable since the copied data is located in the directory known by CATIA.
    • If he copies the directories and the structure at a location that is not known by CATIA, he has to set up his environment i.e. modify the content of some environment variables (CATMsgCatalogPath, CATKnowledgePath, CATGraphicPath, CATStartupPath...). To do so, he can:
      • Use the New From... command in the CATIA Environment Editor. In this case, a new path will be added before or after all variables depending on the chosen option.
      • Use the New command in the CATIA Environment Editor. In this case, he must select the variables to which he wants to add a new path.
      For more information about the CATIA Environment Editor, see CATIA Infrastructure Installation Guide: Administering Version 5: Customizing Your Environment on Windows. For more information about these variables, see About the Knowledge Environment Variables and Settings.
  4. The administrator empties and locks the CATKnowledgeBuildPath setting on the client install. For more information about the way to lock settings, see CATIA Infrastructure Installation Guide: Administering Version 5: Locking Settings. The targeted user will access all knowledge resources i.e. CATIA native ones and the new deployed application resources.