Page 1 of 1

Save view as image in Python

Posted: Tue Apr 01, 2014 8:17 pm
by fantasymew
Hi,

I want to write a script to load the model and save the view as image. After loadModel(modelFileName) and gfxWindowSendKey('x'), I cannot find the Python API to save the view as image. Besides, can I run the script in Command Line not in GUI? The reason why I do so is that, I use C++ code to perform some analysis, put the results into my model, and want to invoke the script to load the model and save the view as image. Is it feasible?

Thanks for your help.

Best regards,
Yu-Wei