I think theres a mel script that can do that. Its on the SM site too. Upper right on the page. Says "MEL". Right between the "Shaders" and "Models". Hope this helps.