PDA

View Full Version : riggingpanel_UI interface


arunspooja
04-22-2006, 02:47 PM
Hi guys,
iam a starter in MEL UI, and i have made a MELscript to load all the rigging tools in one panel but in the script given below iam unable to create a frame layout in the nextcolumn i.e, i have created panels like "skeleton,skin,editsmoothskin.." but now i didnt want to continue in the same column, i want to create the next panel in the next column i.e, "editrigidskin" panel ,
i dont know how to do that.

can any one help me out from this problem.

window -title "RIGGING";

scrollLayout scrollLayout;

columnLayout -adjustableColumn true;

frameLayout -label "SKELETON" -labelAlign "top"

-borderStyle "in";

columnLayout;

rowColumnLayout -nr 1;

button -label "JOINT TOOL" -command ("JointTool");

button -label "*" -command ("JointToolOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "IK_handletool" -command ("IKHandleTool");

button -label "*" -command ("IKHandleToolOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "IK_splinehandletool" -command ("IKSplineHandleTool");

button -label "*" -command ("IKSplineHandleToolOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "MirrorJoint" -command ("MirrorJoint");

button -label "*" -command ("MirrorJointOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "OrientJoint" -command ("OrientJoint");

button -label "*" -command ("OrientJointOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "DisconnectJoint" -command ("DisconnectJoint");

setParent..;

setParent..;

setParent..;

frameLayout -label "SKIN" -labelAlign "center"

-borderStyle "in";

columnLayout;

rowColumnLayout -nr 1;

button -label "Smooth Bind" -command ("SmoothBindSkin");

button -label "*" -command ("SmoothBindSkinOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "Rigid Bind" -command ("RigidBindSkin");

button -label "*" -command ("RigidBindSkinOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "DetachSkin" -command ("DetachSkin");

button -label "*" -command ("DetachSkinOptions");

setParent..;

setParent..;

setParent..;

frameLayout -label "Edit_SB" -labelAlign "center"

-borderStyle "in";

columnLayout;

rowColumnLayout -nr 1;

button -label "AddInfluence" -command ("AddInfluence");

button -label "*" -command ("AddInfluenceOptions");

setParent..;

rowColumnLayout -nr 1;

button -label "remInfluence" -command ("RemoveInfluence");

setParent..;

rowColumnLayout -nr 1;

button -label "setmax_Inf" -command ("SetMaxInfluences");

setParent..;

rowColumnLayout -nr 1;

button -label "Paint_SkinWT" -command ("ArtPaintSkinWeightsTool");

button -label "*" -command ("ArtPaintSkinWeightsToolOptions");

setParent..;

setParent..;

setParent..;

showWindow;

Starrider
04-23-2006, 12:45 AM
i hope i understood what you meant... i think the think the thing you're looking for is the rowlayout. here's a example.

$wnd = `window -title "RIGGING"`;
scrollLayout scrollLayout;
columnLayout -adjustableColumn true;
rowLayout -numberOfColumns 3;
columnLayout -adjustableColumn true;
button -label "JOINT TOOL" -command ("JointTool");
button -label "*" -command ("JointToolOptions");
setParent ..;
columnLayout -adjustableColumn true;
button -label "JOINT TOOL" -command ("JointTool");
button -label "*" -command ("JointToolOptions");
setParent ..;
columnLayout -adjustableColumn true;
button -label "JOINT TOOL" -command ("JointTool");
button -label "*" -command ("JointToolOptions");
setParent ..;
setParent..;
setParent..;
setParent..;

showWindow $wnd;

good luck!

arunspooja
04-26-2006, 09:16 AM
Thank you sir, i have tried as you said and iam getting the result too.

CGTalk Moderation
04-26-2006, 09:16 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.