Python rs.ViewProjection() missing return value

@Alain,

could you please extend rs python method rs.ViewProjection() with an additional return value for TwoPointPerspectiveProjection? It seems this is missing in comparison to RhinoScript (vb) syntax. I guess it just need this this line to get:

if viewport.IsTwoPointPerspectiveProjection: rc = 3

and this line to set:

elif mode==3: viewport.ChangeToTwoPointPerspectiveProjection(distance, up, 50)

thanks,
c.

Got it! I’ll add it as soon as I can.
Thanks

Thank you @Alain. Its been an easy workaround using RhinoCommon :wink:

c.