In this demo we introduce you to the very basics of using MagicDraw. Watch it to get familiar with MagicDraw working environment, main concepts and functions. General discussions about MagicDraw. Moderator: Moderators. 9 posts. Page 1 of 1. Hello, I am having trouble retrieving a value l from a slot that is classified by an enumeration. So far I have been able to retrieve simple data types from slots (String, Int, Boolean). My code iterates through all of the slots. Returns the value of the 'slot Of Defining Feature' reference list. The list contents are of type Slot. It is bidirectional and its opposite is 'Defining Feature'. If the meaning of the 'slot Of Defining Feature' reference list isn't clear, there really should be more of a description here.
TRAIL: Webel's ultimate guide to Systems Modeling Language with MagicDraw/Cameo
08:02: The SysML ValueType, Unit, and using values
Tags and keywords
A SysML Enumeration is a UML Enumeration with ValueType applied (so properties typed by it will list as value properties in the 'values' compartment on a Block)
Slot Magicdraw Jackpot
The tool helps you out:
MagicDraw/Cameo: In a BDD the diagram sidebar menu item for Enumeration is a UML Enumeration with ValueType applied (so properties typed by it will list as value properties in the 'values' compartment on a Block).
A minor tool issue:
MagicDraw/Cameo: The display option 'Show Value Type Units' does not seem to work on the Slots of an InstanceSpecification in a BDD
Note how some of the values in the Slots of the instance
Slot Magicdraw
grumpy red giant have been changed from the defaults defined in block ColorfulMoodyGiant.
Table 8-1 - Graphical nodes defined in Block Definition diagrams - ValueType - MagicDraw SysML 19SP3
Notes
[TIP] A SysML Enumeration is a UML Enumeration with ValueType applied (so properties typed by it will list as value properties in the 'values' compartment on a Block)
[FEATURE, TIP, TOOL] MagicDraw/Cameo: In a BDD the diagram sidebar menu item for Enumeration is a UML Enumeration with ValueType applied (so properties typed by it will list as value properties in the 'values' compartment on a Block).
[DISPLAY, ISSUE, TOOL] MagicDraw/Cameo: The display option 'Show Value Type Units' does not seem to work on the Slots of an InstanceSpecification in a BDD
Snippets (quotes/extracts)
Figure 8-10: Model library for primitive value types
WaterProcessingPlant - FlowProperty and ItemFlow example with Ports - type staging