Here I have a problem to solve. Could someone do me a favor?
In HyperShade I made a connection between two nodes, such as multiplyDivide.outputX ----> joint1.rotateX. accordingly, in the script editor, a mel script displayed:"connectAttr -f multiplyDivide.outputX joint1.rotateX". Then,(maybe after a few other steps) I would like to run one of my scripts to do sth(I had made it a button on the shelf). But I need the "connectAttr -f multiplyDivide.outputX joint1.rotateX" as the input string of my script. How can I query this command?
I tried to use "undo -q -undoname", but it can only query several past command such as "select -cl", while the connectAttr can't be got.
And further, does maya offer a mel command to query recent commands that happened a centain steps ago?
Thx a lot!