Page 1 of 1

Saving visualization from scripts

Posted: Wed Jun 16, 2021 1:05 am
by karthik_sama
I am working on reproducing the features available in the GUI of the visualizer in python scripts. I have traversed through all the methods of the visualizer class and their corresponding function definitions from the documentation. It was possible to replicate change of axis, adjusting camera view etc using these methods from python scripts. But I am unable to find any relevant methods to save the visualization as png or as a movie associated with the visualizer object. Can anyone kindly give any leads on where relevant functional APIs can be found?

Thanks in advance.

Re: Saving visualization from scripts

Posted: Thu May 25, 2023 2:22 am
by jsn-74
Hi everyone,

Has anyone found a way to save a "screenshot" of the visualizer by means of a Python API ? Or is there a way "perform an action" through Python API as in the GUI shell to apply the approach described in the topic "Shell scripting to save images" (viewtopicPhpbb.php?f=91&t=12055&p=34152&start=0&view=)

Thanks in advance !