Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i wrote a script that renamed the first UV of the UV Sets to "map1".
import maya.cmds as cmds sels = cmds.ls( selection=True ) for object in sels: cmds.select(object) allUVSets = cmds.polyUVSet(query=True, allUVSets=True) if allUVSets[0]!="map1": if "map1" in allUVSets: cmds.polyUVSet(delete=True, uvSet='map1') cmds.polyUVSet(rename=True, newUVSet='map1', uvSet=allUVSets[0])
today i noticed that its result is different from "UV Set Editor".
this is script and Attribute Editor result:
this is UV Set Editor result:
* i click "Update" many times, and nothing change.
which result is correct?
**edit: i upload my file.
Solved! Go to Solution.