Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 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