|
|
|
Re: Copying elements from one model to another losing stereotypes [message #1709955 is a reply to message #1709930] |
Fri, 02 October 2015 08:53 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Marc,
This is supposed to work, but I can confirm the bug regarding Stereotypes applied on the copied elements, when you make a cross-editor copy/paste. This works fine when copy/pasting inside the same editor however.
The workaround would be to load the source model inside the target model (So you have both models loaded in the same editor), then make your copy/paste.
To do so:
- Open the target model
- In the model explorer, Right click on the root model -> Import -> Import package from user model
- Select your source model, press OK. The source model now appears in your model explorer (And you can open the diagrams as well if you want to make a graphical copy)
- Copy the elements you want from the source model, and paste them in your target model
Note that you need to manually apply the same profile before copying stereotyped elements. If the profile is not applied on the target model, stereotypes will not be applied during the paste.
HTH,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.03634 seconds