I can’t find any help on this. Please guide me as to what I need to do.
Thank you.
Have you seen the Maya page in the manual?
After I have dragged the MayaPandaTool.mel in the Mel editor and when I hit CTRL + Enter, I get the following error:
Error: Controls must have a layout. No layout found in window
Seems there is an issue with the MEL script radio button collection definitions - this thread helped:
comment out each of the radio button collection “setParent…” then try again. Worked for me - here is an example of one of the radio collections :
radioCollection exportOptionsRC;
radioButton
-label "Mesh"
-select
-onCommand ( "exportOptionsUI" )
chooseMeshRB;
radioButton
-label "Actor"
-onCommand ( "exportOptionsUI" )
chooseActorRB;
radioButton
-label "Animation"
-onCommand ( "exportOptionsUI" )
chooseAnimationRB;
radioButton
-label "Both"
-onCommand ( "exportOptionsUI" )
chooseBothRB;
radioButton
-label "Pose"
-onCommand ( "exportOptionsUI" )
choosePoseRB;
setParent ..; //drop out of exportOptionsRC
and just comment out the ‘setParent’ like so:
//setParent ..; //drop out of exportOptionsRC
As for the crashing that was mentioned in the above thread, I haven’t gotten to exporting just yet. If I have an inclination, I might re-work this script as a proper Maya-Python script with QT interface. Although I doubt the crashing that was mentioned will have anything to do with the UI of the script… probably more with the actual .mll compiled exporter.
Cheers,
D.