Well, I currently working on a script to build some custom deformers on
the fly on top of Michael Isner's XSI biped.
so basically I need to remove the "old" deformer in the envelope_group
of the biped and replace it with the new one.
As the method is currently not working on 5.0, I'll just stick on using
RemoveFromGroup() command until I can get 5.1
thx :) or is there any other way to work it out?
The one I'm using for now (require biped to get this working) :
var skeleton = new Object();
skeleton.model = ActiveSceneRoot.FindChild("Biped");
if(skeleton.model == null)
{
LogMessage("Biped model not found!", siError);
return false;
}
skeleton.EnvelopeGroup = skeleton.model.Groups("envelope_group");
//RLeg
skeleton.RLeg = new Object();
skeleton.RLeg.Root = skeleton.model.FindChild("RRoot1");
if(skeleton.RLeg.Root == null)
{
LogMessage("RLeg root not found!",siError);
return false;
}
skels = GetSkeleton(skeleton.RLeg.Root);
RemoveFromGroup(skeleton.EnvelopeGroup, skels(1));
RemoveFromGroup(skeleton.EnvelopeGroup, skels(2));
rgds,
Edy
RPS wrote:
tell me one thing as u said that u want to remove some members of the
group so u want to select the group thru scripting or manually.i mean
what exactly r u trying to do? if u say i can work on a script for u.
--
RPS
LiveToRig.com
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi