MagicDraw SysML/Cameo: GOTCHA: A Constraint created and applied to a ConstraintBlock via the sidebar menu is NOT owned by the ConstraintBlock!

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
UML keywords
SysMLv1.x keywords
Keywords
Click on the image to view it full size
In the image sequence the Constraint Parameters are not shown.

When you create a ConstraintBlock on a BDD it will initially have an empty owned, applied, Constraint {} with no specification body, which can be edited inline on the symbol:

Make sure you have the Show Constraints symbol property enabled or you won't see it!

If you have more than one Constraint, one way of adding it is to use the specification dialog, where you can create a new owned Constraint and apply it.

Under the Common tab in the diagram sidebar there is a diagram menu item {} Constraint. If you click on that then on the ConstraintBlock it will create and apply a new Constraint but the Constraint will not by default be owned y the ConstraintBlock it was applied to!.

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