I created a poly sphere and a poly cylinder and assigned those names into a variable
//This is my script
string $test= "pSphere1";
string $testb= "pCube1";
connectAttr -f $test.rotate $testb.rotate;
But I couldn't successfully connect the attributes and error is coming up..
//Error: Invalid object or value: pCube1 //
can any one please tell how can I connect attributes of of objects assigned through variables.
The variables are working with all the other set of commands like e.g. select
but when used in connectAttr its not working. Thanks in advance....:cool: