Creating a transformation parameters file

This topic explains how to create a new transformation parameters file (TPM file). A TPM file contains metadata that describes how to transform a UML file into another type of code.

If you have received a TPM file to use with a UML model, the connection between that TPM file and its UML model may have been lost. Sharing the files through a repository can break the connection in this way. See Linking a UML model to an existing TPM file.

Follow these steps to create a new TPM file:

  1. In the workbench, right-click the UML file and then click Edit Transformation Parameters.
  2. In the Create a New TPM file window, make sure that your UML file is listed in the Target Model field.
  3. Browse to a project in your workspace for the new TPM file.
  4. Type a name for the new TPM file in the File field. By default, the TPM file has the same name as the UML file, plus a .TPM extension.
  5. Clear the Use existing Transformation Parameters Model check box.
  6. Click Finish. The new TPM file opens in the transformation parameters editor. See Editing a transformation parameters file.

Feedback