Hi Francis
This is what gets spat out in the script log.
Application.SetValue("RealLensProp<397>.real_camera", "70mm - IMAX", "")
#ERROR : Traceback (most recent call last):
# File "<Script Block >", line 161, in
RealLensProp_real_camera_OnChanged
# Set_xsi_angle(PPG)
# File "<Script Block >", line 136, in Set_xsi_angle
# prop.Parameters('xsi_angle').Value = math.degrees(math.atan(B / 2 /
F) *2)
#AttributeError: 'module' object has no attribute 'degrees'
# - [line 135 in
C:\v5-wg\Addons\RealLens\Application\Plugins\RealLens.py]
#ERROR : Property Page Script Logic Error (Python ActiveX Scripting
Engine)
#ERROR : [133] else:
#ERROR : [134] B =
prop.Parameters('real_filmback_y').Value
#ERROR : >[135] F = prop.Parameters('real_focal').Value
#ERROR : [136] prop.Parameters('xsi_angle').Value =
math.degrees(math.atan(B / 2 / F) *2)
#ERROR : [137]
#ERROR : [138] def RealLensProp_xsi_angle_OnChanged():
#ERROR : Traceback (most recent call last):
# File "<Script Block >", line 161, in
RealLensProp_real_camera_OnChanged
# Set_xsi_angle(PPG)
# File "<Script Block >", line 136, in Set_xsi_angle
# prop.Parameters('xsi_angle').Value = math.degrees(math.atan(B / 2 /
F) *2)
#AttributeError: 'module' object has no attribute 'degrees'
#
Andi.
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Francois Lord
Sent: Thursday, January 26, 2006 2:57 PM
To: XSI(at)Softimage.COM
Subject: Re: "real" cameras in xsi
what error message?
Andi Farhall wrote:
>Handy plugin. I am getting an error message though when I try and
change
>any of the settings. I have python 2.2 and 2.4 installed.
>
>
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi