In Catia MagicDraw in SysML, when I use an enumeration value to specify an input attribute to a signal in an activity diagram, the output pin on the valueSpecification block is initially untyped. Is there a way to automatically type it as the enumeration itself?
I have tried created stereotypes / customization and setting the attribute's default value. What confuses me is the output pin on the valueSpecification block does not appear to be owned by the valueSpecification block but by the activity diagram itself.
I don't know how to change the default drag-and-drop-behavior of Cameo. It could be possible with a plugin, but I think that stereotypes with customizations will not help.
When I drag an enumeration literal to an activity diagram, a value specification action is created. The result output pin is owned by this action and is untyped.
I agree, that Cameo could do a better job here and assign the Enumeration as the type automatically. Strangly enough it is not possible to drag the type to the pin, which works for other actions. However, dragging the type to the correct field in the specification dialog works. So, the behavior is not perfect, but I don't consider this a big deal.
I didn't get what you mean with "does not appear to be owned by the valueSpecification block". Please note, that the specification dialog will show the correct name of the selected element in the title, in case there is a confusion, whether you are dealing with a block, an action, an activity or a diagram.