FORUMS: list search recent posts

MEL GUI - select-object-buttons

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Fab Mas
MEL GUI - select-object-buttons
on Jun 27, 2013 at 8:36:21 am

Hi!

i have the following code.
I tried to insert a second button (so each button can select one mesh) with the scriptCtx but all i get is an error.

Can anyone help me?


window;
columnLayout;
button -c "setToolTo selectedMesh" mySelectObjectButton;

showWindow;

scriptCtx
-title "selectedMesh"
-totalSelectionSets 1
-finalCommandScript "button -e -label $Selection1[0] mySelectObjectButton"
-cumulativeLists true
-setNoSelectionPrompt "Select an object"
-setAutoToggleSelection true
-setSelectionCount 1
-setAutoComplete true
-allObjects true
selectedMesh;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]