Not quite sure but I think you got MEL scripts on SM or Highend3D. Download it and read the code lines!