I'd like to toggle xray mode in a viewport:
cmds.modelEditor('modelPanel1', edit=True, displayAppearance='smoothShaded',
xray=True)But I don't necessarily know the name of the modelPanel. Is there a command to list all the modelPanels in the UI? Thanks, Chad --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
