Copying and pasting an instance

You can copy and paste an instance from the Design Explorer view or the result view of a design search. You must correct any errors that might occur when you paste an instance.

Procedure

  1. From the Design Explorer view or the result view of a design search, right-click an instance and select Copy.
  2. Right-click a line that corresponds to the same entity type as the copied instance and select Paste.
  3. The paste wizard opens. By default, it displays the name of the source project and the name of the copied instance as CopyOfname (where name is the name of the copied instance). Modify the project and the instance name as you need:
    • To paste the instance to the same project as the source project, keep the project that is displayed. Modify the instance name by overwriting the whole content of the Name field with another name that conforms to the length provided for the entity.
    • To paste the instance to another project, enter the name of the target project in the Project field. You can keep or modify the name of the source instance. To keep the instance name, just erase CopyOf in the Name field. To modify the instance name, overwrite the whole content of the Name field with another name that conforms to the length provided for the entity.
  4. Click OK.

Results

The copied instance is pasted according to the information of the paste wizard.

From the Design Explorer view, you must check the presence of the pasted instance.

Then, you must correct any errors that might be present on the instance. Here are some examples of errors:
  • The links are not resolved in the pasted instance if the copied instance was used (subreferences or super references).
  • The generation parameters that are indicated in the Overview tab of the instance are not automatically modified. Then, if you pasted the instance to a project different from the source project, you must modify the generation parameters.
  • The Segments that are associated with a pasted Data Structure are not automatically copied and pasted with the Data Structure. You must then copy and paste the Segments one by one.

Feedback