PowerDesigner can generate EMF .ecore and .genmodel files.
Select Language > Generate EMF Code to open the Generation dialog box:
Enter a directory in which to generate the files and specify whether you want to perform a model check.
[optional] On the Selection tab, specify the objects that you want to generate from. By default, all objects are generated, and PowerDesigner remembers for any subsequent generation the changes you make.
Note:
Although you can create all the standard UML diagrams and their associated objects, you can only generate packages, classes, and interfaces.
[optional] Click the Options tab and specify the EMF version that you want to generate for.
Click OK to begin generation.
A Progress box is displayed. The Result list displays the files that you can edit. The result is also displayed in the Generation tab of the Output window, located in the bottom part of the main window.