I think you might have used a pastebin that is either private or set to expire
because it is no longer there.
Without reviewing your entire code to see the context, it is a bit hard to know
what all your code does. But I can recommend that you try using the variables
holding the real names of the layouts instead of passing the string name that
you assume will be correct:
iconLayout =
maya.cmds.rowColumnLayout("iconLayout",nc=len(self.poseImport.list()),parent='mainWinLayout')
In this line you ask for the layout to be named 'iconLayout' but if that ui
name already exists, it could end up being called something else. Whatever it
is called will be returned to your iconLayout variable. So when you run the
next line, you should do:
library = maya.cmds.tabLayout("library", ..., parent=iconLayout)
Not sure if that was even the line that failed. Make sure to include your
traceback so we know what line of your code crashed.
On Nov 26, 2012, at 2:37 AM, san <[email protected]> wrote:
> iconLayout =
> maya.cmds.rowColumnLayout("iconLayout",nc=len(self.poseImport.list()),parent='mainWinLayout')
> library =
> maya.cmds.tabLayout("library",innerMarginWidth=0,scr=True,parent='iconLayout',
>
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe