Hello
I have this two funtion. i want the second function can read some string from the first bu every time i have two error start by " No match for …". the problem is that the script can’t read the two string $skinClusterOne and $getName from the first proc and use it in the second one.
global proc PickObject()
{
string $selObject[] = `ls -sl`;
textField -e -tx $selObject[0] SelectedObject;
global string $getName;
$getName = `textField -q -tx $selObject[0] pCube1`;
string $skinCluster;
string $history[] = `listHistory $selObject[0]`;
for($historyNode in $history)
if(`nodeType $historyNode` == "skinCluster")
$skinCluster = $historyNode;
global string $skinClusterOne;
$skinClusterOne = $skinCluster;
//print $skinCluster;
}
global proc BindItMan ()
{
global string $skinClusterOne;
global string $getName;
//Get Joint Name
string $JointName[]=`ls -sl`;
//string $getValue = `textField -q -text SelectedJoint`;
//Set vertex Vlue
skinPercent -tv $JointName[0] 1 $skinClusterOne $getName.vtx[8:11];
}
Any help please
