Defining an Object Generation

You can define as many object generations as you need. The generations are stored as objects in your model and are available as commands under the Tools menu.

  1. Select Tools > Generate Objects > Define New Object Generation to open the Object Generation Properties dialog.
  2. Select the type of model object you want to generate other model objects from in the Source model objects list.
  3. Click the Choose Metaclass tool to the right of the Target model objects field to open the Select Object Type dialog, which allows you to select the type of objects you want to generate.

    Object Generation Properties

    You can choose any object (including extensions) from any PowerDesigner model type, but some choices will be more appropriate than others.

  4. [optional] Edit the Menu command name that PowerDesigner suggests, and which will appear under the Tools > Generate Objects menu to allow you to launch the generation.

    Object Generation Properties
  5. Click Generate to launch the generation immediately or OK to save the generation definition for use later.

    Once you have defined an object generation, you can launch it at any time by selecting Tools > Generate Objects > Menu command name .