Wouldn't it be something like either of these?

cmds.tabLayout(myLayout, e=True, selectTab="Settings")
cmds.tabLayout(myLayout, e=True, selectTabIndex=2)

The first one is just assuming you named the tab "Settings" and the second 
assumes it is the second tab in the layout. 


On Nov 15, 2012, at 6:35 AM, san <[email protected]> wrote:

> almost everything is done but I just want to add one more feature to switch 
> tab if email or ftp settings are not set, so that if either of upload or 
> Email button is pressed it should switch to settings tab and open the 
> frameLayout that has the setting(the later part i can do but how to 
> pragmatically switch tab) it looks easier but its not working...
> 
> On Thursday, November 15, 2012 8:01:47 PM UTC+5:30, san wrote:
>> 
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to