RE: [Scripting] camera parameters

Date : Tue, 29 Apr 2008 15:30:16 -0500
To : <XSI(at)Softimage.COM>
From : "Matt Lind" <mlind(at)carbinestudios.com>
Subject : RE: [Scripting] camera parameters
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

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.