MagicDraw/Cameo derived relationships and metachain navigation are very powerful and worth exploring

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Keywords
It takes some patience getting on top of these features, but well it is well worth the time investment. Some quick tips if you are having trouble:
  • To get at some properties you can't just use a Metachain Navigation relationship, you have to combine it with a Simple Navigation
  • On any Simple Navigation you can change the context from THIS to use an embedded Metachain Navigation by using the Reset button.
  • Once you have chosen a property on a Simple Navigation make sure you have the direction set properly (can be source-to-target, source-to-target, or both)

Consider also using reusable OpaqueBehaviors as targets of derived properties or custom columns, which OpaqueBehaviors can themselves use Structure Expressions (so in turn simple relations and metachain navigation or scripts).

In general, prefer using Structure Expressions and the GUI, using scripts is trickier and can be fiddly, and often requires deeper knowledge of the underlying metamodel and the Java API.

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)
External links