Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Renaming Objects using MEL Scripts (https://simplymaya.com/forum/showthread.php?t=18742)

oneshotflinch 21-10-2005 01:25 PM

Renaming 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.


All times are GMT. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018