PDA

View Full Version : Adding Blendshape Panel to GUI?


loked
09-18-2003, 09:35 AM
Hey,

I'm building a GUI and I would like to have the blendshape panel in my GUI. I dont want to have to create a whole bunch of sliders and then connect them, I want to just tear off the existing blendshape panel and paste it in my gui. Is that possible??

Any help is appreciated!

later:wavey:
loked

dwalden74
09-18-2003, 10:09 AM
Well, itīs apparently possible, as you can see with the following example:

window winTemp;
columnLayout -adj 1;
string $blendy = `blendShapeEditor myBlendShapeEditor`;
showWindow winTemp;

No idea why you canīt really see the blendShapeEditor though....!

:beer:
David

loked
09-18-2003, 10:29 AM
Hey Dwalden,

I got it to work thanks!! In order to see it, I just added it to a formLayout and specified that it extends to the top and bottom of my window.

Thanks again :thumbsup:


later:wavey:
loked

dwalden74
09-18-2003, 10:52 AM
Is your blendShapeEditor a direct child of the formLayout? I tried it earlier also with a formLayout (formLayout->columnLayout->blendShapeEditor), but that didnīt help...


:beer:
david

loked
09-18-2003, 11:02 AM
I made the blendShapeEditor a direct child of a formLayout and then specified that the blendShapeEditor stretch to all borders of the formLayout.

Something like this:

string $bForm=`formLayout -w 300 -h 300 baseFL`;

string $blend=`blendShapeEditor myblend`;

formLayout -e
-af $blend "left" 1
-af $blend "top" 1
-af $blend "right" 1
-af $blend "bottom" 1
$bForm;

Hope that explains it a bit better.

later:wavey:
loked

dwalden74
09-18-2003, 03:12 PM
ah yeah.. stupidly I had not tried that...

:beer:
David

CGTalk Moderation
01-16-2006, 03:00 AM
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.