Message 1 of 2

Not applicable
01-04-2018
04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to display user defined/created all objects in MAYA using MEL script.
My Script:
ls -tr;
- It will display all my objects with default objects.
Usage: Actually I would like to rename my custom object
string $allobject=`ls -tr`';
for($eachName in $allobject){
string $newname = $eachName+"001";
select -r $eachName;
rename $eachName $newname;
}
Please refer picture
- It will rename, Point 2, but I am in need of Point 1.
Thank You in Advance
Solved! Go to Solution.