Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

invalid flag error

0 REPLIES 0
Reply
Message 1 of 1
jayantbhatt07
1513 Views, 0 Replies

invalid flag error

script giving me an error invalid -dcc flag. Anyone?

 

 

 

{
// create a window
window -title "Nut" -menuBar true -w 220 -h 200 "";
// define the layout of controls added
// to the window.
columnLayout;
// create a collapsible frame layout
frameLayout -collapsable true -label "Nuts";

// add the other controls
flowLayout -columnSpacing 1 -w 220 -h 30;

// create six symbol buttons with related mel command

symbolButton -image "commandButton.png" -command "SE()" -dcc "SOFF()" ;

setParent ..;
// show the window we last created
showWindow;
}

 

global proc SE(){

dR_DoCmd("slideEdge");
inViewMessage -smg "Slide Edge is On" -pos topCenter -bkc 0x00000000 -fade;

}


global proc SOFF(){

dR_DoCmd("slideOff");
inViewMessage -smg "Slide Transform is Off" -pos topCenter -bkc 0x00000000 -fade;

}

Tags (1)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report