Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

renaming silly big issue

renaming silly big issue

marcury
Advocate Advocate
435 Views
2 Replies
Message 1 of 3

renaming silly big issue

marcury
Advocate
Advocate

hi , im trying to rename multiple objects with a little mel , but its impossible because some collateral issues , the funny thing is maya have this easy PrefixHierarchyNames; prefixHierarchy; and do the job perfect for what i need , but theres not any mel command to do it without opening a bothering window to specity the new name , its big script and in the middle of the script i have this and need to type the new name to can keep processing all the script , i want avoid this window opening but i cant find any way to rename in the same clean way as this PrefixHierarchyNames;  , anyone know how to use this without window opening ? kind of ...PrefixHierarchyNames "new_" joint1 ;    , add new to the object and all children....... if i try other renaming ways i get errors because scene have similar names or something 

0 Likes
436 Views
2 Replies
Replies (2)
Message 2 of 3

marcury
Advocate
Advocate

sometimes maya is really painful for silly things........ ok i found kind of secretly this prefixNode that do the job without opening all the window UI , but...... in new maya if i try run it says... Cannot find procedure "prefixNode" , i guess to be sure i should call that prefixHierarchy .mel , any painless way to source this mel inside my script and can run the prefixNode?

0 Likes
Message 3 of 3

marcury
Advocate
Advocate

finally fixed in other ways , pity cant use cleaner that proc

0 Likes