0

I am currently working on a plugin for Cameo Systems Modeler (Version 2021x Refresh 2) and I automated the creation of self-created Dependency Matrices using manager.createDiagram(...) with my custom diagram type. However, I am stuck when trying to set the Row Scope and Column Scope via code.

The Issue: I found documentation referring to classes like com.nomagic.magicdraw.dependencymatrix.persistence.FilterSettings or DependencyMatrixProfile, but I cannot import these packages in my project setup. It seems they are either internal, moved, or not exposed in the Open API classpath for version 2021x Refresh2.

My Goal: I want to assign a specific Package (or a list of Elements) as the scope for the Matrix.

Questions:

  1. What is the standard/stable Open API way to set the Row/Column scope in CSM 2021x?

  2. Should I use a specific Helper class (like DiagramHelper or a Stereotype wrapper), or do I need to manually set the Tagged Values on the diagram element?

Any snippets or pointers to the correct helper classes for the 2021x API would be greatly appreciated!

Thanks in advance! 😊

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.