There are two working examples of Model Add-Ins in the Enterprise Architect Example Model.
These samples demonstrate how to:
- Add code to Receptions
- Call Functions defined as class operations from Reception code
- Use class Attributes as global variables
- Create menus and menu items in an Add-in
- Respond to selection of Add-in menu items
To open the Example Model, select the ribbon option 'Start > Help > Help > Open the Example Model'. Once the Example Model has loaded, search for 'Model Based Add-Ins'.