Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3196

diadem export jpg -excel

$
0
0

I am trying to convert a Diadem 3d characteristic graph into a JPG (or other type) graphics file. When I do the export, Diadem crashes and needs to be restarted. The only message is : Diadem 2012 has stopped working.

 

The graph has a lot of data. A typical graph is 65,000 X 200 points. I am using the ExportToImage method. If I limit the graph to 65000 X 20 the export works. Watching the memory with task manager, I notice that when memory use gets above about 1000 MB the Diadem crashes. I have tried several other formats and report settings with no luck.

 

The crash only happens when I do the export. It is possible to display 2 of the 65000 X 200 graphs in Diadem without problems.   Doing this without calling ExportToImage requires 194 MB for Diadem

 

How can I export an image of this graph using a diadem script?

Does Diadem have a memory limit of 1000 MB?

Is there a way to get is to break up the export task so that it converts a little at a time?

Are other graphics format conversions less memory intensive?

What does this line do?                                 Report.Settings.ImageExport.JPG.Progressive = 5

Is there another function that export this graph to a file for me?

 

Here is the relevant code:

 

Report.Sheets(Dir).Activate

Set oMyReportObj = Report.ActiveSheet.Objects.Item(1) 'select 3d Characteristic                      ‘graph. It is the only object on that tab

 

Report.Settings.ImageExport.JPG.Quality = 50

Report.Settings.ImageExport.JPG.Height = 800

Report.Settings.ImageExport.JPG.Progressive = 5

Report.Settings.ImageExport.JPG.UseRatio = True

 

Call oMyReportObj.ExportToImage(Filename, eImageExportTypeJPG) 'Export the file

 

I am attaching a JPG created by export to image where the original was 65000 X 20.

 

 


Viewing all articles
Browse latest Browse all 3196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>