I'd have to see what you're doing.
Matt
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Byron
Nash
Sent: Tuesday, April 29, 2008 2:09 PM
To:
XSI(at)Softimage.COM
Subject: Re: [Scripting] camera
parameters
Thanks Matt, that did the trick. Any idea why when I have an
_expression_ on the Projection Plane distance(linking it to another camera),
that the FOV value doesn't change when I access it's value in
scripting?
On Tue, Apr 29, 2008 at 4:30 PM, Matt Lind <
mlind(at)carbinestudios.com>
wrote:
try this
instead:
LogMessage( oCamera.Name );
LogMessage( oCamera.Parameters( "projplane" ).value
);
Matt
From: owner-xsi(at)Softimage.COM [mailto:
owner-xsi(at)Softimage.COM]
On Behalf Of Byron
Nash
Sent: Tuesday, April 29, 2008 1:18 PM
To:
xsi(at)Softimage.COM
Subject: [Scripting] camera
parameters
I'm having trouble with the second line I've pasted below. The
first line properly returns the name of the camera in the newCam variable.
I can't figure out why it doesn't work in the second line even though I've
tested it in another
script.
logmessage(newCam.name);
logmessage(newCam.camera.projplane.value);
What I'm trying to
do is check whether the Projection Plane is turned on for this
camera.
Thanks.
--
Byron Nash
--
Byron Nash