Create a raw report of few images

Giuseppe Paola
Giuseppe Paola Altair Community Member
edited August 2023 in Community Q&A

Good afternoon,

I'm writing concerning an issue with HWC hyperview. At this very moment, I'm trying to do a raw report of few images from an .odb file and write them down into a .docx, without any further information. In detail, it follows a piece of code that I wrote on a .tpl file:

 

hwc open animation modelandresult C:/Users/giusepao/Downloads/ShockNEW.odb C:/Users/giusepao/Downloads/ShockNEW.odb
hwc animate transient time 3200
hwc view orientation back

hwc result scalar load type="S-Stress components IP" component=Mises system=global
hwc show legends
hwc save image window C:/Users/giusepao/Desktop/Images/Mises.png

hwc result scalar load type="S-Stress components IP" component="Max Principal"
hwc show legends
hwc save image window C:/Users/giusepao/Desktop/Images/Max.png

hwc result scalar load type=Displacement component=X
hwc show legends
hwc save image window C:/Users/giusepao/Desktop/Images/U1.png

hwc result scalar load type="TEMP-Temperature IP" component="Scalar value"
hwc show legends
hwc save image window C:/Users/giusepao/Desktop/Images/T.png

 

At this point, I'd like to save these images into a .docx file and export them as .docx file. In addition, it could be great if few captions could be added. In detail, i'd remark that I wish an empty .docx or .pptx file without anything written inside aside from the beforementioned 4 images.

Thank you in advance,

Giuseppe

 

Answers