Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Helmut Ortmann on February 14, 2013, 01:20:13 am
-
Hello,
is it possible to define a MDG with a script in óne or more groups like
- Project Browser Group
- Diagram Group
- Model Search Group
Thanks for your help,
Helmut
-
I haven't done that, but the MDG creation wizard offers Scripts as option. So I guess it should be somehow possible.
q.
-
Hello,
the MDG creation wizards creates a group with the name of the MDG and the selected scripts inside the group.
Because I want to have the script in the context menue I have to copy them manually in the desired groups.
Maybe it's only possible by hand or SQL.
Kind regards,
Helmut
-
Hi Helmut,
Not currently supported. Scripts included in an MDG Technology currently always show in a "Normal" script group type only.
-
I ran into this some time ago ->
I ended up exporting the scripts from the menu: Project - Model import/export - Export reference data, and subsequently importing these as a second manual step when installing the MDG.
This will put the scipts in the correct location, the obvious drawback being the additional manual step and also, this will export/import -all- scripts from your MDG project...
-
Hi,
thanks a lot for your valuable advice,
Kind regards,
Helmut
-
You can probably also use EA_OnPreActivateTechnology in order to check/load the scripts from a dedicated resource automatically.
q.