Set Orthographic and Update

Hy,

how can I do this via .net like the user do?

image

Is it ICamera.IsOrthographic? → If jes how can I show the change immediately?

Thx & Regards
Feature

ICamera cam = app.Value.ActiveWindow.Camera;
if(cam.IsOrthographic == true)
{
    cam.IsOrthographic = false;
}
else
{
    cam.IsOrthographic = true;
}

IRenderService rs = IoC.Get<IRenderService>();
rs.RequestRender();

Hy @Este

how do I know when the render is done?

I want to render it immediately or wait on finishing the request…

Thx & Regards
Feature