Export all diagrams to SVG by command line

Dear all,
I’m pretty new to Capella but I want to export all diagrams from my Capella project triggered by an external script e.g. batch. I do know how to export these diagrams manually but as I need some kind of automation for this process I have to do it with some scripting language. Is there some way to do this and if yes how could this be done?
I tried to get it work with command line interface of Capella but I failed.
Many thanks in advance

Hello,
I don’t think this is something natively available in batch…
But I guess you could use the XHTML addon (via batch) and them look for all images within the generated HTML (not sure for .svg though)
Dimitri