Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 07-12-2016 , 01:06 AM
Registered User
Join Date: Mar 2013
Location: Philippines
Posts: 10

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 .

# 2 07-12-2016 , 05:56 PM
Registered User
Join Date: Mar 2013
Location: Philippines
Posts: 10
thank you i found the solution.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads