I have an issue in how exporting all related diagramms of logical function using M2DOC
To get the related diagrams, you need to use the query from org.polarsys.capella.core.semantic.queries.sirius.diagram.Mo delElementRelatedDiagramsQuery.
I do not know how it would be implemented in M2DOC, but here is an example to include the list of related diagrams with the pxDoc document generation tool (
The result is the following (generation launched on a single element):
I have the same issue. How it’s possible to get all related diagrams of a System Function for example and print them to M2doc ?
We have to develop a particular service ?
Does that help?
If you need the representation itself you can use one of this service:
And then access its attributes like its name. Then you can use this service:
To get an image from the representation.
For more details about