Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5816

Python rs.ViewProjection() missing return value

$
0
0

@clement wrote:

@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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5816

Trending Articles