Maya Bhai Dialogue / Maya mel script script automatically creates oriented uvs and a uv layout for the selected meshes.