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