Python4Capella in Capella-studio plug-in development

Hi everyone,

I’m trying to create a plug-in for capella in capella studio 6.0.0. The plug-in would create a menu giving the option of executing 3 commands. Each command would be linked to a Java handler which would in turn run a python script using python4capella simplified API.

So far, each script runs fine in Capella 6.0.0 using the python4capella addon. Additionally, I have been able to develop the handlers of the menu commands to run test “Hello world” python scripts which don’t depend on python4capella.

Does anyone know whether it is possible to add the python4capella libraries to a home-made plug-in to be able to execute python4capella scripts within this plug-in?

Thank you!