Haven't got Maya in front of me but the rough code should be something along these lines... string $sel[] = `ls -sl`; string $toonStuff = `toon command`; connectAttr -f ($sel[0] + ".translate") ($toonStuff[1] + ".cameraPoint"); Chris