Is there a way to "automate" the selection and hiding of some collumns on the the (mass visualization) "view"? (and in general, to "automate user actions" on Capella ?)

I discovered recently about Mass editing and mass Visualization, it is very useful to get csv files.
But my understanding, is that you need to recreate the mass visualization view setting that you need, for each project and anytime you close and re open Capella. (Problem mentionned by @Thierry_Poupon here in the second comment : Are there any plugins to export all the informations related to my capella project into an Excel type file? - Add-ons - Eclipse Capella Forum ( ), then you can click and choose “export to csv”.

I would like to know if :

  1. It is possible to automate actions inside Capella (while it is running) to obtain the proper mass visualization view you need. Meaning : You can change the User Interface with some sort of automation…

  2. If you can’t, then is it possible to create a “preset-template” mass visualization view? Which you can open anytime you need.

  3. Finally, would it be possible to obtain a csv file containing a certain type of collumns you need, maybe without having to open mass visualization manually?

Also, is it possible to automate which “elements” are added to the mass visualization?

Thank you!
Best regards,

Hi Beka,
Right now it is not possible to automate these kinds of actions on the Mass View.
You may want to have a look at groovy for Capella here: Is there a way to automate operations in Capella by using scripts?

1 Like

Hi Stephane,
Thanks but the links availbale inside that post are no longer available.
I tried to search for “Groovy for Capella” and i could not find a thing. (And certainly not the example)
I found Groovy for “Eclipse” though, found this : GitHub - groovy/groovy-eclipse: Eclipse Groovy Development Tools

Hi Beka,
Maybe @FDorner can help with this.

1 Like

Beka, If you’re using Capella 1.4.x try installing capella-groovy from

Here are some examples:

It is also possible to select elements, maybe even hack a way to remove columns from the mass viz view, but it would certainly be a hack. Groovy is more useful to execute certain ‘bulk’ actions, like running a spelling tool over all descriptions and alike.

1 Like

Hello Félix,

I’m trying to use Groovy with my Capella version (1.4.0). After the installation, I can open example files et I can create new files, but I can’t make one of them work on my model. Maybe the solution to my problem is very simple and I tried something very complicated, but as example I have :

  • If I want to change an Operational Actor’s Property value, I can cutomize the script PropertyValues.groovy, but I can’t make it work on my model

  • Export in an excel file (xlsx, csv etc) some data from my model based on csv_grab.groovy file

I thought that it would be possible to run the script by clicking on the “Execute” button as shown below, but it seems to be something else. So I tried some others solutions, but I can’t make the script work.


Thank you in advance for your answer.

Best regards,
Christian KOUMLAH

Sorry, I forgot to answer.
IIRC, you have to enable the Development/Debug capability in the preferences:

Then you can click the small triangle next to the green run button, and select “Run Configurations…”

There should then be a Groovy for Capella category, where you select the script file, set arguments etc and finally run the script.

Hello Felix,

did you had a chance to look if you could get groovy4capella get running with Capella 5.x.x?

kind regards

I am looking at it now

@haage first build groovy capella for 5.0/5.1 is here:
This now uses groovy 3, the example works. Tell me if you need assistance.

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.