little problem with mel script
Hello
I want a script that delete all the expression assigned to a shape.
Let say for exemple in my scene a have a number of circle and each circle has some expression.
I want to select a specific circle and delete all the expression assigned to it. i write with lines
string $selection[] = `ls -sl`;
for($obj in $selection){
delete `ls -type expression`;
}
but the problem is that with this script all the expression in the scene has been deleted .