Generating a new map

This topic describes how you can generate a new map, from a type in a type tree.

About this task

You can generate a new map, from a type in a type tree, using the Generate Map menu option with the New Map option selected.

You can also regenerate the map, from a type in a type tree. Before the process regenerates the map, it prompts you to confirm if you want it to overlay the map. You might want to use this option after you have modified the executable map, and you want to start over and regenerate the map. Close the map source file before you run this option to regenerate the map.

If you do not select Input Card or Output Card, the process still generates the map but without input and output cards.

Procedure

To generate a new map:

  1. Right-click a type in the type tree file opened in the Type Tree editor, and select Generate Map. The Map Generator window opens.
  2. Click New Map.
  3. In the Map Specifics pane, select Input Card or Output Card or both.
  4. Specify the target location of the generated map in the Into Folder text field by either one of the following ways:
    • Enter the location path in the Into Folder text field.
      Enter the location in the following format:
      location_path\folder_name
    • Use the Project Browser to select the location.

    Your selected folder appears in the Into Folder text field of the Map Generator window.

  5. Click OK. The Transformation Extender window opens and the The map(s) generation is successful. message appears.
  6. Click OK.

Results

The map generator process created the following entities:
  • Map source file. It appears in the location that you specified. It has the same name as the map that uses the type tree that you selected.
  • Executable map. It has the same name as the type in the type tree.
  • Input and output cards as you specified. They have the same name as the type in the type tree suffixed by _Inp for the input card, and _Out for the output card.

What to do next

View the generated map file.

If you specified the location in a project, refresh its parent project folder so that you can see the generated map file listed under Map Files in the Extender Navigator view. Select the project and click File > Refresh.

If you specified the location in a file system, navigate to the file through your file system.