Written in PY3 this small script in maya was written for my convenience when dealing with Zbrush subtools. It's on my github.