Skip to content

Instantly share code, notes, and snippets.

@nutti
Created May 6, 2016 05:57
Show Gist options
  • Save nutti/314eee6202b0fe9599341bcb4ecbfe89 to your computer and use it in GitHub Desktop.
Save nutti/314eee6202b0fe9599341bcb4ecbfe89 to your computer and use it in GitHub Desktop.
Rename UV set as Object Group
import bpy
def rename_uv_as_objgrp():
for o in bpy.data.objects:
for uv in o.data.uv_layers:
uv.name = o.name + "_" + uv.name
if __name__ == "__main__":
rename_uv_as_objgrp()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment