EnvDataMoveAbstract: Replace all envelope deformers with new deformers in different model space without changing weights.Description: This is a tool to replace all envelope deformers with new deformers in different model space without changing weights. It requires that all the deformers’ names are identical in both models or it will ignore any unmatched deformer. Working Scenarios: This tool was designed to be used on enveloped characters to replace complex rigs with simple ones (nulls) which is a very common case if you want to use enveloped characters efficiently in real-time based systems such as Softimage|Behavior and DirectSkeleton. User Usage: Select your enveloped object and run the script, pick the model with the new deformers. Developer Usage: You can call this tool from any other scripts using the following function call: EnvDataMove( oEnvelopedObj, oTargetModel ) Where oEnvelopedObj is an objects that has an envelope operator on it. oTargetModel is a model object that contains the new deformers. This tool returns true if it succeeds and false if it failed for any reason. Note: This tool doesn’t transfer weights correctly if the enveloped objects have deleted polygons after the envelope operator is applied. This bug doesn’t shows if you use it in XSI 4.0+. Nature: Script Applies To: XSI 3.5 on NT,Win2K,XP Languages: VBScript |