fUML1.4: Cameo Simulation Toolkit: LIMITATION: CreateObjectAction is not allowed to instantiate a UML DataType or a SysMLValueType, only a Class as the CreateObjectAction::classifier! WORKAROUND: Use a ValueSpecificationAction instead with an instance.

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 fUML-1.3/1.4 - and Magic Model Analyst® (Cameo Simulation Toolkit®)) - CreateObjectAction is not allowed to instantiate a UML DataType or a SysMLValueType, only a Class as the < code>CreateObjectAction::classifier:

But there's an easy workaround in Magic Model Analyst® (Cameo Simulation Toolkit®). Just create an "empty" instance of the desired ValueType then drag it onto a ValueSpecificationAction. You can the populate it as desired using AddStructuralFeatureValueAction just as you would for any Class/Block object.

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