When I execute below 2 lines at once, ramp1.colorEntryList[1] is not removed.
but, when I excute one by one, it success.
string $texName = `shadingNode -asTexture ramp`;
removeMultiInstance ($texName + ".colorEntryList[1]");
In the script editor, there is no error nor warning message.
And I can't discriminate which the message "result : 0" in the script editor(Echo All Commans) indicates that removeMultiInstance has trouble.
I want to generate and remove .colorEntryList[n] at once.
How I can remove colorEntryList[1] smoothly?
(My version : Maya 2014 SP2)