I want to be able to change the current view port camera angle, as well as change to orthographic view mode. I couldn't find anything in the blender docs, so after searching it on the internet I found this stack overflow post from 2012
Though it appears to solve the problem, it's draw back is that it's almost a decade old. I was wondering if in that time, any changes have been made to bpy that allow better control over the viewport camera?
Specifically, like it's mentioned in the question I linked, I'd like to set the view port camera to the presets you get from typing the num keys, and I'd also like to switch between perspective and orthographic modes.
bpy.ops.view3d.view_axis()operator, see: Set orthographic view using python?. If you'd like to switch between between 'ortho' and 'persp' just replace the operator withbpy.ops.view3d.view_persportho(override)... Re your Q (just trying to help): Please always try to ask a specific question here and ideally along with some code (showing some effort is part of the game), makes your question useful to future visitors too: https://blender.stackexchange.com/help/how-to-ask – brockmann Feb 12 '21 at 08:45