Want to create multiple empty group nodes in mayaScene so for example I use this below script in new maya scene _______________________________________________________ from maya import cmds mel.eval("CreateEmptyGroup;") def addPrefix(prefix): for obj in cmds.ls(sl=True): cmds.rename(obj, prefix + obj) addPrefix("test") _______________________________________________________ Result will create a empty group node with prefix like testnull1 but I want the result should be testNull1 so here test Will be in lowercase and null1 only First first letter should be in caps I have a list of names in a text file example:- doorBell01 doorBell02 doorBell03 doorBell04 can a text file with names linked to mel or python and get the output as below so final output should be testDoorBell01 testDoorBell02 testDoorBell03 testDoorBell04 so in this case only D should be in caps with test as prefix and remaining should be same I just need empty group nodes with prefix and names from text file.
Answers
Answered by
0
Answer: It's free and easy to answer
Explanation:
Similar questions
English,
4 months ago
CBSE BOARD X,
4 months ago
Social Sciences,
8 months ago
Biology,
8 months ago
Science,
11 months ago
English,
11 months ago
English,
11 months ago