« Back

JPG export from modelling tool

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
JPG export from modelling tool
community documentation transformation core
Answer
3/27/14 12:12 PM
Is it possible to export a JPG (or PDF) of the created model from the ADOxx Modellling Tool?

RE: JPG export from modelling tool
Answer
1/7/14 9:20 AM as a reply to Natalia Sudakova.
Yes this is  possible.
Depending on how you want to accomplish the export, please find options to do that below:

a) Export by the user as IMAGE:
ADOxx offers platform functionality to export model graphics in different formats. You can use the functionality in the modelling toolkit (within the modelling component) by clicking on "Edit" -> "Generate graphics" and then choose how you want to export. Alternatively you can click on the respective icon in the quick access bar (see screenshot with highlight attached)

b) Export by user as document such as PDF:
To enable the export in PDF/DOC format, you need to configure the documentation component in ADOxx. For details on that, please have a look at this entries http://www.adoxx.org/live/faq/-/message_boards/category/57197 in the message board

c) Export progammatically as IMAGE
You can use the following two AdoScript commands to export images:

Generates graphics of a model to a file

1CC "Modeling" GEN_GFX_FILE modelid:id filename:strValue gfx-format:ImageType [ scale:intValue ] [ bpp:intValue ] [ quality:intValue ]
2# ImageType : "bmp" | "gif" | "ico" | "jpeg" | "png" | "targa" | "tiff" | "wbmp" | "xpm"
3# --> RESULT ecode:intValue
Generates graphics of a model to a base64 encoded string.

1CC "Modeling" GEN_GFX_STR modelid:id gfx-format:ImageType [ scale:intValue ] [ bpp:intValue ] [ quality:intValue ]
2# ImageType :    "bmp" | "gif" | "ico" | "jpeg" | "png" | "targa" | "tiff" | "wbmp" | "xpm"
3# -->RESULT ecode:intValue gfx:strValue .



.
Attachment

Attachments: ExportGraphic.PNG (68.3k)