Setting aspect ratio of single viewport / Ansys Mechanical

Options
anton.hoeller
anton.hoeller Member Posts: 1
Photogenic

Dear community,
I'm new in Ansys Python World. Sorry if I may not use unprecise language.

For creating reports it would be very beneficial to have a constant ratio of the viewport in the Mechanical environment.

I would like to have a script that sets, for a single viewport view, the aspect ratio to a fix value, like 1:1. I thought this might be easy to do with a recorded script. Unfortunately adjusting the size of a viewport is not recorded. (Even with the setting of unpublished API)

How could I implement something like this?

Thanks for any inspiration,
Anton

Tagged:

Answers