Change Camera Marking Menu
This is a small tips for clear all namespaces in the maya scene. First copy the script bellow and save it as “bc_CleanAllNameSpace.mel” in any of your user script folder. Or you can download the script from here
Tutorials of MEL(Maya Embedded Language)
Change Camera Marking Menu
This is a small tips for clear all namespaces in the maya scene. First copy the script bellow and save it as “bc_CleanAllNameSpace.mel” in any of your user script folder. Or you can download the script from here
SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.
I included MEL(Maya embedded language) inside this package. It is simple to put mel codes in your post with syntax highlighing.
[mel]
global proc string bcFileName()
{
$bcFileName = file -q -sn -shn
;
if($bcFileName == “”)
return “Untitled Scene”;
return $bcFileName;
[/mel]
Continue reading Syntax Highlighter 3.1.3 for WordPress Laguage includes MEL
Change Camera Marking Menu
This is a small tips for making marking menu for changing cameras easily. First copy the script bellow and save it as “bc_ChangeCam.mel” in any of your user script folder. Or you can download the script from here
Continue reading Change Camera Marking Menu (Mel Function)
This is a simple function to reverse string array in mel.
1 2 3 4 5 6 7 8 9 |
global proc string[] bc_ReverseList(string $bcInputList[]) { string $bcOutputList[]; for($bcItem in $bcInputList) { stringArrayInsertAtIndex(0, $bcOutputList, strip($bcItem)); } return $bcOutputList; } |
This is a small tip for mel newbies to use cutter. Cutter is a worderfull text editor developed by Mr. Malcolm Kesson. it is very usefull for those who are useing Pixar’s Render Man. It helps a lot in Renderman Shader Development. Cutter supports number of languages like Python, MEL, RSL, Rib, TCL, Shake, MI(Mental Images), Batch…and lot. I am planning to add more MEL tutorials uses cutter.