cmds.shelfTabLayout( 'mainShelfTab', image='smallTrash.png', imageVisible=True,p='ShelfLayout' )
cmds.shelfLayout( 'Dynamics' )
cmds.setParent( '..' )
cmds.shelfLayout( 'Rendering' )
cmds.setParent( '..' )
cmds.shelfLayout( 'Animation' )
cmds.setParent( '..' )
cmds.showWindow()
The error message when i toggle tabs in shelf (i dont get this error if i use shelfLayout indtead of shelfTabLayout )
D:/Program Files/Autodesk/Maya2018/scripts/startup/shelfStyle.mel line 122: Object 'mainShelfTab' not found.
any advice would be appreciated
Thank you