PDA

View Full Version : can i do a Mel request?


MasonDoran
01-22-2004, 11:39 AM
The UV editor is pretty good in maya....but lets say i am doing a level design for a game....so there will be thousands of UVs mapped and wrangled all about in the Texture editor.

currently TOGGLE isolate select doesnt work on UVs in the UV texture editor...the current workflow is a bit redundant

anyone up for a go on this?

MasonDoran
01-22-2004, 03:13 PM
ok...problem solved....found a guy to do it for me:

toggle isolate select that will do the normal isolate select script...but if UVs are selected...it will isolate select those in the Texture Editor


just map to a hotkey



string $theNameOfTheCurrentPanel = `getPanel -wf`;
if (`isolateSelect -q -state $theNameOfTheCurrentPanel`)
{
enableIsolateSelect $theNameOfTheCurrentPanel 0;
isolateSelect -state 0 $theNameOfTheCurrentPanel;
}



// Uvs 35 //
else if ( size(`filterExpand -sm 35`) > 0 )
{
//convert selection whatever it is to UVs
//PolySelectConvert 4;

//clear the uvset here
textureEditorIsolateSelect 0;

//add selected uvs now
textureEditorIsolateSelect 1;

//toggle "view set"
textureWindowShaderFacesMode( "polyTexturePlacementPanel1", "textureWindow", 1);
}

else
{
isolateSelect -state 1 $theNameOfTheCurrentPanel;
enableIsolateSelect $theNameOfTheCurrentPanel 1;
};

womanonfire
06-01-2004, 08:11 PM
nice script :buttrock:

CGTalk Moderation
01-17-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.