Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Prev | Next |
Copy Elements Between Diagrams
As you develop a diagram, it is not uncommon to find that some of the elements and structures of elements could also be used on another diagram. You can copy those elements and structures onto another diagram as a new set of elements without losing the element composition or the organization of the structure. In doing this, you can change any of the element names within the structure and preserve the relative nesting of the elements.
Access
Ribbon |
With element(s) selected in source diagram:
With input focus on target diagram:
|
Keyboard Shortcuts |
With element(s) selected in source diagram: With input focus on target diagram:
|
Paste Element(s) as Reference
If you select to paste the copied elements as references (or links) to the source element(s), the elements are added to the diagram as instances of the source element(s) on the target diagram, with any connectors between them.
Complete the Paste Element(s) as New Dialog
If you select to paste the copied elements as new elements, the 'Paste Element(s) as New' dialog displays.
Option |
Action |
See also |
---|---|---|
Original Element Name |
Each element name defaults to selected, to be inserted in the target diagram. If you want to omit an element from the copied structure, clear the checkbox against it. |
|
New Element Name |
If you want to give a copied element a new name, delete the current name (highlight it and press the ) and type in the new name. |
|
Include Connectors |
This checkbox defaults to selected, to make copies of the original connectors where both source and target elements in the relationship have been copied. This maintains the relationships between and organization of the copied elements. If you do not want to copy the connectors, clear the checkbox. |
|
Paste |
Click on this button to add the copied elements and connectors to the target diagram as new elements. |
Notes
- Package elements cannot be copied as structured elements
- The 'Date Created' and 'Time Created' parameters of a pasted-as-new element are set to the current date and time; the parameters for a linked element remain the same as the copied element
- Elements - including special embedded elements such as SysML Properties - do not have to have a parent element when pasting as new, although normal embedded elements such as Ports must have a parent
- Elements in State regions cannot be pasted as new outside the parent element
- Parenting is still applied when copying and pasting as new using between (floating) diagrams
- You can also use the 'Cut', 'Copy' and 'Paste' icons in the Default Tools toolbar