arunspooja
10-09-2006, 08:12 AM
Hai friends,
execute this script in the attached file, it shows that one instance of the panel is only allowed.
But if you execute in any other file its executing properly multiple times.
can any one say what could be the problem
string $whichPanels[] =`getPanel -sty renderWindowPanel`;
if (`window -exists ($whichPanels[0] + "Window")`)
{
deleteUI ($whichPanels[0]+"Window");
}
else
{
string $onet=`RenderViewWindow`;
}
execute this script in the attached file, it shows that one instance of the panel is only allowed.
But if you execute in any other file its executing properly multiple times.
can any one say what could be the problem
string $whichPanels[] =`getPanel -sty renderWindowPanel`;
if (`window -exists ($whichPanels[0] + "Window")`)
{
deleteUI ($whichPanels[0]+"Window");
}
else
{
string $onet=`RenderViewWindow`;
}
