Re: Action Sources, Regular vs Italics

Date : Thu, 28 Sep 2006 17:46:34 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: Action Sources, Regular vs Italics
Hey Helge, Robert, thanks!
Finally got it, I had been moving sources from one folder to the other in the explorer's Sources/Clips viewing mode, which doesn't seem to actually move the sources physically from one model to the other. For anyone interested, the script below illustrates the problem...
Still strange though, the mapping between the Sources folder and the corresponding scene elements is not that straight forward, is it?


//Models
var oM1 = ActiveSceneRoot.AddModel();
var oM2 = ActiveSceneRoot.AddModel();
//Geo
var oT1 = oM1.AddGeometry("Torus", "MeshSurface");
var oT2 = oM2.AddGeometry("Torus", "MeshSurface");
//Source1
var aTarget1 = new Array(oT1.PosX.FullName.replace(oM1.Name + ".", ""));
var aSource1 = new Array("5");
var aActive1 = new Array(true);
oM1.AddActionSource("Mysource1", aTarget1, aSource1, aActive1);
//Source2
var aTarget2 = new Array(oT2.PosX.FullName.replace(oM2.Name + ".", ""));
var aSource2 = new Array("5");
var aActive2 = new Array(true);
oM2.AddActionSource("Mysource2", aTarget2, aSource2, aActive2);
//Copy / Paste
CopyPaste("Sources._3D_Model.Mysource1", null, "Sources._3D_Model1", 1);
RemoveFolder("Sources._3D_Model");
//Turn Explorer to Sources / Clips viewing mode and open the Animation folders...




Helge Mathee wrote:
that means the action sources are nested below other models as well. basically italics anywhere in the explorer mean that the object you see nested is not in its primary location - or simple: when a property is propagated through branch, the first object holding the property shows the property non-italic, the object further down show it as italic.

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of André Adam
Sent: Thursday, September 28, 2006 10:18 AM
To: xsi(at)Softimage.COM
Subject: Action Sources, Regular vs Italics

Hi!

I'm currently moving tons of animation around by scripting and I noticed that a whole bunch of Action Sources now is written in italics when viewed in the explorer, side by side with Action Sources that are printed in regular style. Since I can't spot any difference in regards to the overall animation, is anyone having any idea what XSI is trying to tell me by printing those Action Sources in italics?

Cheers!

-André

--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


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.