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 basically have zero scripting knowledge, but I want to make a simple MEL script that makes CryEngine exporting faster for me. Can anyone help me out with how I can achieve this? This should save a bunch of time since I export from Maya very often. In the following order I want to: 1. Select one or multiple objects…
Damn it, and I just wrote something out lol. Here it is anyway I guess proc exportToCryEngine() { string $prompt = `promptDialog -title "Cryengine Export" -message "Label your node:" -button "OK" -button "Cancel" -defaultButton "OK" -cancelButton "Cancel" -dismissString "Cancel"`; if ($prompt == "OK") { string $name =…
Thanks! Had no idea about this, never really checked out the other Cry tools... My bad. Sorry for wasting your time Saf and Deadly Nightshade, appreciate the help though. (:
There should be a Tools Button in the Crytek Shelf, that has a "create CryExport Node" action in it. That will do just that and also add the custom properties to the CryExportNode Group with the necessary meta data for export.
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 =…