Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: albert on November 01, 2016, 03:30:31 am

Title: Hybrid Scripting
Post by: albert on November 01, 2016, 03:30:31 am
Dear All,

Any ideas, how should it be possible to include Hybrid Script in 'usual' script group ?

Thanks in advance
Albert
Title: Re: Hybrid Scripting
Post by: ja1234 on November 03, 2016, 10:15:00 pm
Maybe you could detail on what do you mean by Hybrid?
Title: Re: Hybrid Scripting
Post by: Geert Bellekens on November 04, 2016, 04:06:56 am
Hybrid Scripting is a new feature in v13 that looks promising, but I haven't tried it out yet, so I wouldn't know the answer.

Geert
Title: Re: Hybrid Scripting
Post by: albert on November 07, 2016, 01:16:33 am
Hello,

The idea is simply to be able to associate a hybrid script with a usual script group, in order to run the hybrid script by using the 'project browser' or 'diagram' context menu.

Best regards,
Albert
Title: Re: Hybrid Scripting
Post by: Helmut Ortmann on November 07, 2016, 06:02:33 pm
Hello Albert,

I have created a C# script. The example delivered with EA. It runs in the Analyze Environment / Execution Analyzer.

How do I associate this c# script to a Script Group. I haven't found something to do it.

Have you managed to do it?

Thanks for your help,

Helmut
Title: Re: Hybrid Scripting
Post by: albert on November 09, 2016, 08:06:52 am
Hello Helmut,

No, that's my problem.

I write also an hybrid script in C#, I was able to run it from the VEA but now I want to retrieve this script in any of the context menu and, for the moment, I did not find any solution.

Best regards,

Albert
Title: Re: Hybrid Scripting
Post by: Helmut Ortmann on November 18, 2016, 06:33:11 pm
Hello Albert,

may be you can use the C# hybrid script with the external tool functionality.

There you can assign parameters like package GUID,...

The drawback is that it's not very flexible and no context menu or script group support.

I think I will give it a try.

Kind regards,

Helmut