Couldnt find any thing Mel script but found this tutorial. hope this helps https://learnfobia.com/category-Maya-...Maya-2257.html