Horganovski
12-12-2012, 10:52 PM
Unfortunately this is something I can't test here as the oldest version of Maya I have is 2011, but someone who is using a script I wrote is having an issue with it in Maya 2009.
They get an error ' Too many children in layout: frameLayout8 //'
Here's the code (the start of it anyway) that builds the UI, it's the last line here that is causing the error. Any ideas as to why this doesn't work in Maya 2009?
// build the UI
if (`window -exists bhGhost`)
deleteUI bhGhost;
global string $theLayout;
window -toolbox 1 -rtf true -menuBar 1 bhGhost ;
menu -l "Colour" -to 1 optionsMenu;
menuItem -divider true;
$colorSel =`radioMenuItemCollection`;
menuItem -label "Black" -c bhBlackLine -radioButton off blk;
menuItem -label "White" -c bhWhiteLine -radioButton off wht;
menu -l "Help" -to 1 helpMenu;
menuItem -l "Show Help" -c bhHelpWin aboutlabel5;
columnLayout -adj 1 mainCol;
Cheers,
Brian
They get an error ' Too many children in layout: frameLayout8 //'
Here's the code (the start of it anyway) that builds the UI, it's the last line here that is causing the error. Any ideas as to why this doesn't work in Maya 2009?
// build the UI
if (`window -exists bhGhost`)
deleteUI bhGhost;
global string $theLayout;
window -toolbox 1 -rtf true -menuBar 1 bhGhost ;
menu -l "Colour" -to 1 optionsMenu;
menuItem -divider true;
$colorSel =`radioMenuItemCollection`;
menuItem -label "Black" -c bhBlackLine -radioButton off blk;
menuItem -label "White" -c bhWhiteLine -radioButton off wht;
menu -l "Help" -to 1 helpMenu;
menuItem -l "Show Help" -c bhHelpWin aboutlabel5;
columnLayout -adj 1 mainCol;
Cheers,
Brian
