Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to circumvent Bug 529966 ?(Papyrus 3.2.0 fails to exports diagrams as images, what to do about it?)
How to circumvent Bug 529966 ? [message #1780149] Thu, 18 January 2018 07:52 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 213
Registered: July 2009
Senior Member
Dear all,

I have been working on a model for some weeks with Papyrus 3.2.0 on Eclipse 4.7.1a. This morning I wanted to start including some of the diagrams in a report but this version of Papyrus is unable to export diagrams as images (Bug 529966).

Is there any way to circumvent this bug? What other options are there to obtain images (SVG, PDF, PNG, etc) from a diagram developed with Papyrus 3.2.0?

Thank you.
Re: How to circumvent Bug 529966 ? [message #1780152 is a reply to message #1780149] Thu, 18 January 2018 08:52 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 876
Registered: February 2011
Senior Member
Hi Luis,

Diagram export works best when the exported Diagrams are already opened in Papyrus, as all services related to the Editor (Which should in theory be optional) will be properly initialized. This has two benefits: 1) reducing the risk of exceptions when anything tries to access one of these optional services and 2) improving the rendering accuracy, as the export will be based exactly on what you see on screen.

If you have too many diagrams to open them all before exporting, you should at least try to open the editor that contains these diagrams, to initialize all services.

HTH,
Camille


Camille Letavernier
Re: How to circumvent Bug 529966 ? [message #1780154 is a reply to message #1780152] Thu, 18 January 2018 09:15 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5883
Registered: July 2009
Senior Member
Hi

For tools whose export capabilities are inadequate, I often resort to using screen capture.

e.g. the free "C:\Program Files (x86)\HTML Help Workshop\flash.exe"

Regards

Ed Willink
Re: How to circumvent Bug 529966 ? [message #1780157 is a reply to message #1780152] Thu, 18 January 2018 09:35 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 213
Registered: July 2009
Senior Member
Camille Letavernier wrote on Thu, 18 January 2018 03:52
If you have too many diagrams to open them all before exporting, you should at least try to open the editor that contains these diagrams, to initialize all services.


Hi there Camille, thank you for your reply. I only have three diagrams in this particular model, if I open all of them Papyrus manages to export the one presently portrayed and fails with the other two. This means I am eventually able to export all diagrams, portraying them one by one.

Cheers.
Re: How to circumvent Bug 529966 ? [message #1780158 is a reply to message #1780152] Thu, 18 January 2018 09:35 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 213
Registered: July 2009
Senior Member
Camille Letavernier wrote on Thu, 18 January 2018 03:52
If you have too many diagrams to open them all before exporting, you should at least try to open the editor that contains these diagrams, to initialize all services.


Hi there Camille, thank you for your reply. I only have three diagrams in this particular model, if I open all of them Papyrus manages to export the one presently portrayed and fails with the other two. This means I am eventually able to export all diagrams, portraying them one by one.

Cheers.
Re: How to circumvent Bug 529966 ? [message #1780160 is a reply to message #1780154] Thu, 18 January 2018 09:42 Go to previous message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 213
Registered: July 2009
Senior Member
Ed Willink wrote on Thu, 18 January 2018 04:15
For tools whose export capabilities are inadequate, I often resort to using screen capture.

Thank you Ed for the message. Screen capture is not option due to Bug 529714 and Bug 529628.

Ed Willink wrote on Thu, 18 January 2018 04:15
e.g. the free "C:\Program Files (x86)\HTML Help Workshop\flash.exe"

Not sure what you mean by this, but I do not use Eclipse with Wine or any programme of the sort. I would go as far as advising against such set up.

Regards.
Previous Topic:Drag and drop an existing element from palette
Next Topic:How to put Integer default value to null
Goto Forum:
  


Current Time: Sun May 20 18:06:07 GMT 2018

Powered by FUDForum. Page generated in 0.01813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top