This is typically one of the first "modelling power tips" new tool users learn. It works for many classifier types: Class, Block, ValueType, Signal etc. Note that:
- A dragged-on Class or Block will usually create a Property with AggregationKind 'composite' (so it will be considered a 'part').Unfortunately, at least for MagicDraw/Cameo v19SP3, if the "dragged" Class or Block had a name that was a single letter, the automatically generated name in the tool for the newly created Property (such as
B:Bin the left of the image) does not meet Webel Best Practice:
The problem only seems to happen when the Classifier has a single letter name, otherwise you get something like
thatBlock:ThatBlock (with UpperCamelCase, a.k.a. PascalCase).
- If you drag a Class onto a Class it should appear in the attributes compartment.
- If you drag a Block onto a Block it should appear in the parts compartment.
- If you drag a ValueType onto a Block it should appear in the values compartment.
- If you drag a Signal onto a Class or Block it should appear in the receptions compartment.
If you still can't see the new Property, it may be that you need to adjust this display setting:
This "drag-on" feature in a sense works together with this "drag-out" feature: