Defining Simple Object Generations

Simple object generations allow you to generate a single type of object (eg, Tables or Classes) to any other type of object. You can define multiple object generations. They are stored as objects in your model and are accessed by selecting Tools > Generate Objects > Generation Name.

To generate more than a single type of object or to have greater control over how individual properties will be generated, use an advanced object generation (see Defining Advanced Object Generations).
  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 .