You are going to define the generated file in order to list the messages of each communication diagram existing in your model. To do so, you have to define the generated file in the BasePackage metaclass. This metaclass is the common class for all packages and models, it owns objects, diagrams and other packages.
The generated file will contain the result of the evaluation of the template description defined on the CommunicationDiagram metaclass. The code of the generated file also contains a foreach_item macro in order to loop on the different communication diagrams of the model.
The BasePackage category is displayed under Profile.
A new generated file is created.
This name is used in the resource editor.
This is the name of the file that will be generated. It will be a .txt file, and it will contain the name of the current model thanks to variable %Name%.