Daigrams with "Invalid view remove from diagram". [message #1755115] |
Tue, 28 February 2017 08:58  |
Eclipse User |
|
|
|
Dear all,
I move my project from Papyrus 1.1.3 and Gendoc 0.5.1 to Papyrus 2.0.2 and Gendoc 0.6.0.
All my diagrams that were generating correctly before are now empty red boxes and lines with the mention "Invalid view remove from diagram".
The code that generates the diagram is
[for (d:Diagram|element.getPapyrusDiagrams())]<drop/>
<image object='[d.getDiagram()/]' maxW='true'><drop/>
</image><drop/>
[/for]<drop/>
Any clue what might be wrong or might have changed in v0.6.0?
Best regards,
Marc
|
|
|
|
|
|
Re: Daigrams with "Invalid view remove from diagram". [message #1755119 is a reply to message #1755118] |
Tue, 28 February 2017 09:22   |
Eclipse User |
|
|
|
Hi,
I think it related to the non-backwards compatibility changes done in Papyrus 2.0 where all the notation diagram hints ids were changed. You are able to show the diagrams correctly in papyrus because papyrus migrate the diagram loaded in memory when the diagram is open in the editor.
The workaround it is to open all the diagrams and do a small modification, such as move / resize by one pixel one of the elements in the diagram and save the model. Alternatively you can generate the document with all the diagrams open in the papyrus model editor.
I know it is not the best approach, but papyrus did not provided a migration tool from 1.1.x to 2.x.
Regards,
Antonio
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04349 seconds