Related Diagrams M2DOC

Hello,
I have an issue in how exporting all related diagramms of logical function using M2DOC
Best regarads,

Hello
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 (
https://www.pxdoc.fr):
The result is the following (generation launched on a single element):
Regards
Thomas

Hello,
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 ?
Thank you.
Regards
Hondjack

Does that help?

Hello,
If you need the representation itself you can use one of this service:
EObject.representationByDescriptionName(String) or
String.representationByName()
And then access its attributes like its name. Then you can use this service:
DRepresentation.asImage()
To get an image from the representation.
For more details about
Sirius services.
regards,
Yvan.

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