Author Topic: Hybrid Scripting  (Read 6665 times)

albert

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Hybrid Scripting
« 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

ja1234

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Hybrid Scripting
« Reply #1 on: November 03, 2016, 10:15:00 pm »
Maybe you could detail on what do you mean by Hybrid?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hybrid Scripting
« Reply #2 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

albert

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Hybrid Scripting
« Reply #3 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

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Hybrid Scripting
« Reply #4 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
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

albert

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Hybrid Scripting
« Reply #5 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

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Hybrid Scripting
« Reply #6 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
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)