Hello all,
I am trying to save my results contours as images with the predefined saved view and applying it to all of them using the below script but not able to get the saved view apply to all of them:
Your Products have been synced, click here to refresh
Hello all,
I am trying to save my results contours as images with the predefined saved view and applying it to all of them using the below script but not able to get the saved view apply to all of them:
But when I use the following script after fixing the issue my software closes after my first process simulation, can someone please help with this issue?
result_view.save_to_image(filename=filename, settings=base_view_settings)
Hello Asam,
I tested the code you provided her on my side.
it looks like there is a bug with the python command in the line I quoted. I will report this to the development team. Please use the command
save_result_view_to_image(process="UpsettingFe3D", filename=r'D:\image.png', resolution=(1920, 1080), settings=settings_obj) instead.
I was able to run it but i couldn't find any images in the location:
Script completed for all processes.
>>> Run: C:/Users/ecslogin/OneDrive - Wright State University/PhD/Writing/IMECE 2025 Paper/V1/Results/Test_run_all.py Processes found: ['ForgingFe3D-2', 'ForgingFe3D-4', 'ForgingFe3D-6', 'ForgingFe3D-7', 'ForgingFe3D-9', 'ForgingFe3D-10', 'ForgingFe3D-10-fric0-1', 'ForgingFe3D-10-fric0-2', 'ForgingFe3D-10-fric0-4']
Processing: ForgingFe3D-2
Saving image: C:\Users\ecslogin\OneDrive - Wright State University\PhD\Writing\IMECE 2025 Paper\V1\Results\ForgingFe3D-2_EFFPLS_Forming_100.0.png
Saving image: C:\Users\ecslogin\OneDrive - Wright State University\PhD\Writing\IMECE 2025 Paper\V1\Results\ForgingFe3D-2_TEMPTURE_Forming_100.0.png
Finished: ForgingFe3D-2
Its working now i had to change my process line command
© 2025 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |