eYadNesS
01-06-2011, 07:06 AM
Sorry, I'm beginner with mel scripting, any one could help me on writing the following script:
I have about 20 curve controls, I want if I select "leftLegControl" and press a button, its select "leftLegControl" + "rightLegControl"...
How I can change my string "leftLegControl" to "rightLegControl", I just want to replace left with right, or right with left, depends on what i select. And if there is no left or right in the string, do nothing.
Thank you in advance.
I have about 20 curve controls, I want if I select "leftLegControl" and press a button, its select "leftLegControl" + "rightLegControl"...
How I can change my string "leftLegControl" to "rightLegControl", I just want to replace left with right, or right with left, depends on what i select. And if there is no left or right in the string, do nothing.
Thank you in advance.
