Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Maya 2018 merge UV sets

Maya 2018 merge UV sets

Anonymous
Not applicable
33,687 Views
10 Replies
Message 1 of 11

Maya 2018 merge UV sets

Anonymous
Not applicable

I have a single mesh with two UV sets that I want to merge into one single UV set, but there doesn't seem to be a way to do it. In the UV editor window under the "UV Sets" menu, I've tried the "copy UVs to UV set" option, but this only seems to over-write the target UV set with the current UV set, leaving me with, essentially, a copy of the first UV set and the UVs from the second UV set tossed out the window. I have to assume that this is a bug and not the desired functionality of this menu option. Can someone please let me know if there is a work-around for this bug, or, if it's not actually a bug, where the magical, well-hidden secret menu option is located that will actually merge two separate UV sets into one UV set.

 

Thanks.

0 Likes
Accepted solutions (1)
33,688 Views
10 Replies
Replies (10)
Message 2 of 11

Its_jay
Advocate
Advocate
If you want to merge to uv’s together
Use move and sew option
0 Likes
Message 3 of 11

Christoph_Schaedl
Mentor
Mentor

in one uvset there can only be one set of uvs... 

if one object does have two uvs sets its the same UV but in different positions...

 

how should combining work..?

 

 

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 4 of 11

Anonymous
Not applicable

Thanks for the reply, but this is not the functionality I'm looking for. 🙂

0 Likes
Message 5 of 11

Anonymous
Not applicable
Accepted solution

Ok, I found the solution to my problem. It's not a bug, I was just doing it wrong. 😛  When using the "copy UVs to UV set" option, you need to actually have the UVs selected that you want copied. I was just assuming that it would copy all the UVs from the current UV set into the target UV set. Now I know.

 

Thanks to those that responded. 🙂

 

Message 6 of 11

Figster1962
Participant
Participant

Thanks for reporting back on how you found a solution, it was baffling me as well. That worked. Thanks.

Message 7 of 11

Anonymous
Not applicable

hola amigos, no me a funcionado , o no entiendo bien como fusionarlos

0 Likes
Message 8 of 11

lucas_omelo
Explorer
Explorer

First: Select the uvs that you want to transfer with UV Shell option from the first Uv Set.

Second: With UVs selected, Use  "Copy uv to uv set" option and select the Second Uv Set.


Third: if u want to delete the copied uv set, remember to do Edit > Delete all by type > History.

Message 9 of 11

naveen.vDTXTN
Community Visitor
Community Visitor

If there is two UV set Select the proper UV Set Then Copy to the Default UV Set It will work fine.

0 Likes
Message 10 of 11

Camel259
Contributor
Contributor

Hey.
I wrote one script from some others, which merges all sets to one, called "map1".


string $mapOne[]; string $UVLists[]; int $num_of_uv_sets;

$objects_selected = `ls -os -l`;

for ($currentObject in $objects_selected)
{
select -r $currentObject;

$UVLists = `polyUVSet -q -allUVSets`;
$num_of_uv_sets = (size($UVLists));

if ($num_of_uv_sets == 1)
{
$mapOne = `polyUVSet -q -currentUVSet -uvSet $UVLists`;
if ($mapOne[0] != "map1") catchQuiet ( `polyUVSet -rename -uvSet $mapOne -newUVSet "map1"` );
}

while ($num_of_uv_sets > 1)
{
$last_uvset = $UVLists[$num_of_uv_sets-1];

setSelectMode components Components; selectType -pv 0 -pe 0 -pf 0 -puv 1 -smp 0 -sme 0 -smf 0 -smu 1; HideManipulators;
SelectAll;
$poly_count = `ls -selection`;
catchQuiet ( `polyCopyUV -uvSetNameInput $last_uvset -uvSetName "map1" -ch 1 $poly_count` ) ;

catchQuiet ( `polyUVSet -delete -uvSet $last_uvset` );

//make last uv set the current set
catchQuiet ( `polyUVSet -currentLastUVSet` );

$UVLists = `polyUVSet -q -allUVSets`;
$num_of_uv_sets = (size($UVLists));

$num_of_uv_sets = $num_of_uv_sets -1;
if ($num_of_uv_sets == 1)
{
$mapOne = `polyUVSet -q -currentUVSet -uvSet $UVLists`;
if ($mapOne[0] != "map1") catchQuiet ( `polyUVSet -rename -uvSet $mapOne -newUVSet "map1"` );
}
}

clear ($UVLists);
}

select -r $objects_selected;

Message 11 of 11

andygomez3dart
Explorer
Explorer

Thanks so much. Seriously. Maya is jut not user friendly at all....