Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 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