manage_uv_map
List, add, remove, rename, and switch UV maps on a mesh, including setting which map UV tools edit and which map renders or exports.
Instructions
List, add, remove, rename UV maps, or choose which one is edited or rendered.
A mesh holds up to 8 UV maps. Common use: ADD a "Lightmap" map, then smart_uv_project or pack_uv_islands on it for non-overlapping bake UVs, while textures keep using the first map. UV tools work on the active map; materials and export use the render map unless a UV Map node picks one.
Args: object_name: Mesh object. action: LIST, ADD (becomes the active map), REMOVE, SET_ACTIVE (the map UV tools edit), SET_RENDER (the map renders and exports), RENAME. uv_map: The map to act on, or the new map's name for ADD. new_name: RENAME only: the new name. copy_active: ADD only: start from a copy of the active map's UVs instead of blank ones.
Returns: Dict with every UV map (name, active, render).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| uv_map | No | UVMap | |
| new_name | No | ||
| copy_active | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||