PDA

View Full Version : scriptedPanel 'hyperShadePanel'


gangshow2003
02-23-2011, 09:20 PM
Hi all,

I have a very annoying problem which Id love some help with. Im building a window which I want to have a hypershade panel and attribute editor built into. However when I try and create this like this -

window;

string $form = `formLayout`;
string $pane = `paneLayout -configuration "single"`;
scriptedPanel -type "hyperShadePanel";

setParent ..;
setParent ..;

string $row = `rowLayout -numberOfColumns 2`;
button -label "Select Character";
button -label "Do something else";

setParent ..;
setParent ..;

formLayout -e
-af $pane "top" 0
-af $pane "left" 2
-af $pane "right" 2
-ac $pane "bottom" 0 $row
$form;

showWindow;

I get this error -
"Only one instance of this panel type allowed: hyperShadePanel".

Anyone know why? It's definately not already open. I've done various things to make sure it isn't. I am allowed to use this scripted panel type right?

Also any way of getting the attribute editor into my custom window?

Cheers all

CGTalk Moderation
02-23-2011, 09:21 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.