View Full Version : Howto adding outliner to tabLayout

12-04-2012, 08:11 PM
I have a tabLayout that two tabs to what I want to add outliner as third tab.

self.outliner = cmds.outlinerPanel() # gives me outliner
although outlinerPanel1 is always the one default outliner but i still choose to do it cmds.outlinerPanel()

self.outliner = cmds.outlinerPanel() # gives me outliner
#Edit tabs layout
cmds.tabLayout( 'tabLayout', edit=True, tabLabel=((self.widgets["mainLayout"], 'PMS'), (self.outliner,"Outliner"),(self.widgets["settingsTabLayout"] , 'Settings'))

then I m trying to put that to tablayout but getting error

# Error: Object 'outlinerPanel5' not found.
# Traceback (most recent call last):
# RuntimeError: Object 'outlinerPanel5' not found. #

CGTalk Moderation
12-04-2012, 08:11 PM
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.