Prev Next

Import a Model Pattern

Before being able to use a customized Pattern in your model, you must first import the Pattern XML file into the ModelPatterns directory in the Enterprise Architect install path; it is then available from the Resources window and optionally from the Toolbox. You should also have an rtf file describing the Pattern, in the same directory location as the XML file and with the same file name.

Access

Use one of the methods outlined here to display the Resources window.

Within the Resources window, right-click on 'Model Patterns | Import Model Pattern'.

Ribbon

Start > Explore > Browse > Resources

Show > Portals > Window > Explore > Resources

Keyboard Shortcuts

Alt+6

Import the Model Pattern

Step

Action

1

On the 'Import Model Pattern' dialog, type in or browse for the name of the XML file to import.

2

Select to import the file into either the model or the user APPDATA location.

3

Click on the OK button to import the Pattern. The rtf file is automatically imported at the same time.

The imported Pattern is placed in the appropriate category as defined in the XML file; if the category does not already exist under 'Model Patterns', a new one is created.

Patterns in MDG Technologies

A number of Technologies provide their own Patterns, and some Technologies are designed principally as a vehicle for making specific Patterns available to the model, such as the MDG Technology for Gang of Four Patterns. Such Patterns are provided through the Diagram Toolbox pages for the Technology. If you want to use such Patterns, check that the appropriate Technology has been loaded and enabled in the model.

Learn more