Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Operations on Multiple Elements

It is possible to perform various operations on two or more elements on a diagram at once, either to add the same feature or to standardize the size or orientation of the selected elements. This makes it much faster to update the diagram than if you had to modify each element separately.

To select the required elements, either click and drag the cursor over the group to highlight them, or press Ctrl as you click on each element separately.

Access Right-click on a selected element (for format/layout operations, right-click on the element against which to standardize the others)

Options

Option

Detail

See also

Extensions

Select this option to access a submenu of enabled Technologies on the system (for example, ArcGIS or TOGAF), each of which provides options for performing technology-specific operations on the elements.

This option is available in the Professional, Corporate and Extended editions of  Enterprise Architect.

Systems Engineering Domain Based Models

Align

Select one of these options to align elements against the 'master' element's:

  • left edge
  • right edge
  • top edge
  • bottom edge
  • center, vertically or
  • center, horizontally

You can also edge-align groups of elements using the Diagram Toolbar; the four alignment buttons are made available when more than one element is selected in a diagram.

Shortcut:

Ctrl+Alt+Left Arrow

Ctrl+Alt+Right Arrow

Ctrl+Alt+Up Arrow

Ctrl+Alt+Down Arrow

Diagram Toolbar

Space Evenly

(For three or more selected elements.) Select this option to automatically even out the spacing between the selected elements, either horizontally or vertically.

Shortcut: Alt+-    Alt+=

Same Height/Width

Select one of these options to make all the selected elements match the 'master' element's height or width, or both.

In Use Case diagrams, these options are blocked if the 'Allow Elongated Use Cases' option is turned off on the 'Options' dialog 'Objects' page.

Objects

Feature and Compartment Visibility

Select this option to define the visibility of features and compartments on all selected elements.

Shortcut: Ctrl+Shift+Y

Feature Visibility

Add Tagged Value

Select this option to add the same Tagged Value to all selected elements.

Assign a Tagged Value to an Item

Autosize

Select this option to automatically resize the selected elements to their default minimum size (element content permitting).

Shortcut: Alt+Z

Autosize Elements

Appearance

Select this option to set the same default appearance and font for all of the selected elements at once.

Shortcut: F4

Set an Element's Default Appearance Set Element Font

Make Non-Selectable

Select this option to make the selected elements on the diagram non-selectable.

To make the elements selectable again, either:

  • Right-click on individual elements and click on the 'Selectable' option, or
  • Right-click on the diagram background and select the 'Make All Elements Selectable' option

Element Context Menu Operations

Printable

Defaults to selected, so that the selected elements are depicted in any diagrams in reports generated on their parent Package(s).

If you click on the option to deselect it, the elements will not be visible in any diagrams in reports. You can, however, deselect a report option for a report to force the display of the non-printable elements.

Deselecting this option also hides the element and its connectors in the 'Print Diagrams', 'Print to PDF' and 'Save Diagram as Image' operations.

Document Options Copy Image to Disk Diagram Menu - Project Browser File Management Non-printable Elements

Dockable

Select this option to turn the 'Docking' feature on or off for the selected elements. When two elements are dockable, they can be moved together to automatically join along their common edge.

Code Generation

(For Class elements) Select this option to either:

  • Generate code for the selected elements together, or
  • Synchronize code and model for each of the selected elements

Shortcut: Shift+F11    Ctrl+R

Generate a Group of Classes

Transform

Select this option to transform the selected elements using a transformation template in a single operation.

Shortcut: Ctrl+H

Transform Elements

Generate Documentation

Select this option to generate a single document report on the selected elements.

(Do not, in this instance, use the F8 key.)

Generate Documentation

Copy

Select this option to copy the selected elements to the clipboard.

Layout Selected Elements

Select this option to automatically adjust the layout of the selected elements on the diagram.

Layout a Diagram Automatically

Delete Selected Elements

Select this option to delete the selected elements from the diagram only.

Shortcut: Ctrl+D