  | | | Spotlight viewports | Spotlight viewports 2005-02-21 - By Guillaume Laforge
Back //Set your scripting language to Jscript. //Select your light and run. //It change the viewport "a" to the selected spot/camera. var oLight = Selection(0).Name; var oVM = Application.Desktop.ActiveLayout.Views( "vm" ) ; oVM.SetAttributeValue ("activecamera:a", oLight) ;
//Cheers. //Guillaume Laforge //CG artist //www.vol2nuit.fr
-- -- Original Message -- -- From: "Nikos Gatos" <nikos@(protected)> To: <XSI@(protected)> Sent: Monday, February 21, 2005 12:14 PM Subject: Spotlight viewports
> Hi list,
> > Here's my first question ever. > Is there a way to set up a relational view of some sort so that when I > click a spotlight in the Explorer it automagically updates itself > through the spotlight viewport? > > Many thanks, > Nikos > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2900.2604" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT face=Arial size=2>//Set your scripting language to Jscript.</FONT></DIV> <DIV><FONT face=Arial size=2>//Select your light and run.</FONT></DIV> <DIV><FONT face=Arial size=2>//It change the viewport "a" to the selected spot/camera.</FONT></DIV> <DIV> <P><FONT face=Arial size=2>var oLight = Selection(0).Name;<BR></FONT><FONT face=Arial size=2>var oVM = Application.Desktop.ActiveLayout.Views( "vm" ) ;<BR></FONT><FONT face=Arial size=2>oVM.SetAttributeValue ("activecamera:a", oLight) ;</FONT></P> <P><FONT face=Arial size=2>//Cheers.<BR>//Guillaume Laforge<BR>//CG artist<BR>//www.vol2nuit.fr</FONT></P> <P><FONT face=Arial size=2></FONT> </P> <P><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </P> <P><FONT face=Arial size=2></FONT> </P> <P><FONT face=Arial size=2></FONT> </P></DIV> <DIV><FONT face=Arial size=2>-- -- Original Message -- -- </FONT> <DIV><FONT face=Arial size=2>From: "Nikos Gatos" <</FONT><A href="mailto:nikos@(protected)"><FONT face=Arial size=2>nikos@(protected)</FONT></A><FONT face=Arial size=2>></FONT></DIV> <DIV><FONT face=Arial size=2>To: <</FONT><A href="mailto:XSI@(protected)"><FONT face=Arial size=2>XSI@(protected)</FONT></A><FONT face=Arial size=2>></FONT></DIV> <DIV><FONT face=Arial size=2>Sent: Monday, February 21, 2005 12:14 PM</FONT></DIV> <DIV><FONT face=Arial size=2>Subject: Spotlight viewports</FONT></DIV></DIV> <DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV> <DIV><FONT face=Arial size=2>> Hi list,</FONT></DIV> <DIV><BR><FONT face=Arial size=2>> <BR>> Here's my first question ever.<BR>> Is there a way to set up a relational view of some sort so that when I<BR>> click a spotlight in the Explorer it automagically updates itself<BR>> through the spotlight viewport?<BR>> <BR>> Many thanks,<BR>> Nikos<BR>> <BR>> ---<BR>> Unsubscribe? Mail </FONT><A href="mailto:Majordomo@(protected)"><FONT face=Arial size=2>Majordomo@(protected)</FONT></A><FONT face=Arial size=2> with the following text in body:<BR>> unsubscribe xsi<BR>></FONT></DIV></BODY></HTML>
|
|
 |