Beginner's question: why would substitute command suddenly work unpredictably? Or is it a bug just in my MEL interpreter?
print(`substitute "__" "b_CTRL_lipCorner_R__rotate_Z" "."` +"\n");
b_CTRL_lipCorner_R.rotate_Z
print(`substitute "." "b_CTRL_lipCorner_R.rotate_Z" "__"` + "\n");
___CTRL_lipCorner_R.rotate_Z
I've broken my eyes checking for errors till I realized that this is a buggy thing. Had to replace this with substituteAllString, which to my surprise has function syntax. Would gladly use Python, unfortunately some BonusTools support MEL only, learning MEL on the go.
Are there some lists on MEL commands that are known to be unreliable?
,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti
If the post was helpful, click the ACCEPT SOLUTION button, so others might find it much more easily.
Solved! Go to Solution.
Link copied