Copying Entities

You can make a copy of an entity within the same model or between models. When you copy an entity, you create a new entity with a new name and code, attributes, and identifiers. Model options control whether you create new data items or reuse the data items that are attached to the original entity.

  1. Select an entity in the CDM/LDM, and then select Edit > Copy (or press Ctrl+C).
  2. Select the diagram or model to where you want to copy the entity and select Edit > Paste (or press Ctrl+V).

    The entity is copied and the new entity is displayed in the Browser and diagram.

    Note: When copying an entity to the same model, a new entity with a new name and code, attributes, and identifiers is always created, but the creation of new data items is controlled by data item model options (see Setting CDM/LDM Model Options). Select:
    • Allow reuse - to attach the original data items to the new entity attributes. If this option is not selected, the original data items will be copied and these copies will be attached to the new entity attributes.
    • Unique code - to force all data items to have unique codes (though two or more data items can have the same name). If neither this option nor Allow reuse is selected, then duplicate data items will be created with the same names and codes.