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 21-10-2005 , 08:40 AM
Registered User
Join Date: Oct 2005
Posts: 2

Rename Objects using MEL Scripts

Hi, I am quite new to MEL scripting but not new to programming. I would like to make a MEL script that works on both a single selected object as well as multiple selected objects. I would like it to be able to have the user rename the selected object(s). Then I'd like to check to see if a given object has already been appended (renamed) with the user-input string before it attempts to rename it.

I'd like to know what command I use to get the object name so I can parse it into a string.

Any help is greatly appreciated. Thanks.

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