Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Spotlight viewports

Spotlight viewports

2005-02-21       - By Guillaume Laforge

 Back
Reply:     1     2     3  

//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&nbsp;the viewport "a" to&nbsp;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>&nbsp;</P>
<P><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P></DIV>
<DIV><FONT face=Arial size=2>-- -- Original Message -- -- </FONT>
<DIV><FONT face=Arial size=2>From: "Nikos Gatos" &lt;</FONT><A
href="mailto:nikos@(protected)"><FONT face=Arial
size=2>nikos@(protected)</FONT></A><FONT face=Arial
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</FONT><A
href="mailto:XSI@(protected)"><FONT face=Arial
size=2>XSI@(protected)</FONT></A><FONT face=Arial size=2>&gt;</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>&gt; Hi list,</FONT></DIV>
<DIV><BR><FONT face=Arial size=2>&gt; <BR>&gt; Here's my first question
ever.<BR>&gt; Is there a way to set up a relational view of some sort so that
when I<BR>&gt; click a spotlight in the Explorer it automagically updates
itself<BR>&gt; through the spotlight viewport?<BR>&gt; <BR>&gt; Many
thanks,<BR>&gt; Nikos<BR>&gt; <BR>&gt; ---<BR>&gt; 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>&gt; unsubscribe
xsi<BR>&gt;</FONT></DIV></BODY></HTML>