Setting aspect ratio of single viewport / Ansys Mechanical
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
Answers
-
Perhaps @AKD-Scripting-Team may be able to help with this?
0 -
Dear @Josh McLeod if I follow the link to the @AKD-Scripting-Team the message "This user's profile is private." is shown. How can I contact them?
BR
Anton0 -
@AKD-Scripting-Team this is meant to alert the team, but we've had a technical issue that meant they weren't getting the notification. This should now be fixed and hopefully someone will be available to help.
0 -
@anton.hoeller If you are trying to automatically export images, you can try using height and width option in GraphicsImageExportSettings.
Example of usage:
Please let me know if you are looking for this.
0