View Full Version : can i do a Mel request?

01 January 2004, 11:39 AM
The UV editor is pretty good in maya....but lets say i am doing a level design for a 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?

01 January 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 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);

isolateSelect -state 1 $theNameOfTheCurrentPanel;
enableIsolateSelect $theNameOfTheCurrentPanel 1;

06 June 2004, 07:11 PM
nice script :buttrock:

CGTalk Moderation
01 January 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.