Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 29-01-2014 , 10:59 PM
goggles's Avatar
Registered User
Join Date: Sep 2011
Posts: 219

Selection Higlighting shelf button error

I am trying to put this script into my shelf. Is this script working? If so how can i add it? From the script editor or in the command tab in shelf editor? I saved the script from the script editor into the folder as SH. and esited the line in command tab in shelf editor as source SH;

I get cannot find file SH for source statement error now....

# Toggle Selection Hilite
import maya.cmds as cmds
perspPanel = cmds.getPanel( withLabel='Persp View')
if (cmds.modelEditor( perspPanel, query=1, sel=1)) == 1:
cmds.modelEditor( perspPanel, edit=True, sel=0)
else:
cmds.modelEditor( perspPanel, edit=True, sel=1)

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads