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:
- In the workbench, right-click the UML file and then click Edit Transformation Parameters.
- In the Create a New TPM file window, make sure that your UML file is listed in the Target Model field.
- Browse to a project in your workspace for the new TPM file.
- 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.
- Clear the Use existing Transformation Parameters Model check box.
- Click Finish. The new TPM file opens in the transformation parameters editor. See Editing a transformation parameters file.