Save view as image in Python

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yu-Wei Chen
Posts: 13
Joined: Wed Jan 08, 2014 1:13 am

Save view as image in Python

Post by Yu-Wei Chen » Tue Apr 01, 2014 8:17 pm

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

POST REPLY