I thought it was about time I uploaded something to my site, something that you guys could use and maybe develop? Well, rather than a model or a rig I thought I would share some of the simple MEL scripts I use on a daily basis.
Simple copy the text below and create a button in Maya
Reload Textures – Reloads all the textures in a scene
string $textureList[] = `ls -type file`; for ($texture in $textureList) { setAttr -type “string” ($texture + “.fileTextureName”) `getAttr ($texture + “.fileTextureName”)`; }Toggle Symmetrical Modeling
symmetricModelling -e -symmetry (!`symmetricModelling -q -symmetry`)Toggle Isolate Selection
string $panel = `getPanel -withFocus`; enableIsolateSelect $panel (! `isolateSelect -q -state $panel`); FrameSelected;Toggle Shell Selection
polySelectConstraint -bo 0 -sh (!`polySelectConstraint -q -sh`)Like I said, only simple scripts but I hope they come in useful…On another note, if you need a script let me know and I will throw one together and add it here.