  | | | getSkeleton | getSkeleton 2004-04-01 - By Bradley Gabe
Back Sorry... looks as though lucas mail server has developed a stutter.
> Or better yet, get yourself a pointer to the chain root. All the > bones and the effector are properties of the chain root. > > var oChn = ActiveSceneRoot.FindChild("nameOfChainRoot"); > var oBones = oChn.Bones; > var oEff = oChn.Effector; > > LogMessage(oChn); > for(var i = 0; i<oBones.count; i++){ > LogMessage(oBones(i)); > } > LogMessage(oEff); > > >>Hi, if you simply want to get all children under the chain root you could >>try this: >> >>' You have to select the chain root first for this to work >>set oChainRoot = selection(0) >> >>set oChildren = oChainRoot.findchildren >>for each oChild in oChildren >> logmessage oChild >>next >> >>Cheers, >>F. >> >> >>Romano Ivanovic wrote: >> >> >>>hi, >>>Im looking for a command that gives me names of all the bones and >>>children in a root! >>>GetSkeleton is a good command but it gives me just the root, bones and >>>effector.....not children! >>> >>>thx >>> >>> >> >>--- >>Unsubscribe? Mail Majordomo@(protected) with the following text in body: >>unsubscribe xsi >> >> >> > >-- >Bradley R. Gabe >Industrial Light & Magic > >
-- Bradley R. Gabe Industrial Light & Magic
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> </head> <body> Sorry... looks as though lucas mail server has developed a stutter.<br> <br> <blockquote type="cite" cite="mid406C7737.7040709@(protected)"> Or better yet, get yourself a pointer to the chain root. All the bones and the effector are properties of the chain root.<br> <br> <tt>var oChn = ActiveSceneRoot.FindChild("nameOfChainRoot");<br> var oBones = oChn.Bones;<br> var oEff = oChn.Effector;<br> <br> LogMessage(oChn);<br> </tt><tt>for(var i = 0; i<oBones.count; i++){<br> LogMessage(oBones(i));<br> }<br> LogMessage(oEff);<br> <br> <br> </tt> <blockquote type="cite" cite="mid001901c41802$46df3150$8202a8c0@(protected)"> <pre wrap="">Hi, if you simply want to get all children under the chain root you could try this:
' You have to select the chain root first for this to work set oChainRoot = selection(0)
set oChildren = oChainRoot.findchildren for each oChild in oChildren logmessage oChild next
Cheers, F.
Romano Ivanovic wrote: </pre> <blockquote type="cite"> <pre wrap="">hi, Im looking for a command that gives me names of all the bones and children in a root! GetSkeleton is a good command but it gives me just the root, bones and effector.....not children!
thx </pre> </blockquote> <pre wrap=""><!----> --- Unsubscribe? Mail <a class="moz-txt-link-abbreviated" href="mailto:Majordomo@(protected)">Majordomo@(protected)</a> with the following text in body: unsubscribe xsi
</pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Bradley R. Gabe Industrial Light & Magic </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Bradley R. Gabe Industrial Light & Magic </pre> </body> </html>
|
|
 |