RE: "real" cameras in xsi

Date : Thu, 26 Jan 2006 15:22:47 -0000
To : <XSI(at)Softimage.COM>
From : "Andi Farhall" <andi(at)clearpost.co.uk>
Subject : RE: "real" cameras in xsi
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.