Most people trying to get into scripting in Maya (or of any kind really) usually have a big problem knowing where to start. Yes, you have the official documentation here: http://download.autodesk.com/global/docs/maya2013/en_us/Commands/ ...but just going with that is like getting an English-Mandarin dictionary and then…
I'm just starting to learn Python. The code is ugly, but seems to work. You can select one or more object, "_and_" between them will be added to the new group name. import maya.cmds as cmdsdef CryExportPy(): Sel1 = str(cmds.ls (selection=True, objectsOnly=True)) Sel2 =…