Hello Felix,
as you suggested (
https://forum.mbse-capella.org/t/384/) I start a new topic here for Groovy4Capella…
I managed to get Groovy4Capella working - thank you!
… with some small difficulties:
- installing eclipse-plugins, especially behind a firewall (for future releases: dropins are the “easiest” way to install add-ons)
- the example script won’t run without an “Argument” definition in the Run-Configuration for the script
So some first questions:
- List ExchangeItems per architecture level (System, Logical, Physical)
In your example the Functions of the Logical-Architecture and Physical-Architecture are found by LogicalFunction.each PhysicalFunction.each.
If I look for ExchangeItem.each all EIs are found - from every level. How can I select only one specified level e.g. LogicalArchitecture? - Add/Write a new ExchangeItem to the model
How can I add a new EI to the model at a defined location e.g.
LogicalArchitecture -> Interfaces -> NewInterfacePgk -> NewExchangeItem - Groovy & Excel
Is Groovy able to directly read from / write to Excel files?
kind regards