4
$\begingroup$

I'd like to know if the context 3d-view is in camera mode or not using python? What is the code for that, I can't find it in the API.

$\endgroup$
3
$\begingroup$

See context.space_data.region_3d.view_perspective which returns a string from an emum of PERSP, ORTHO and CAMERA.

thanks to kaio !

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.