Message 1 of 3
an issue with script editor
Not applicable
10-30-2016
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Any one please have an idea what happen with my maya scrit editor i try to write a script in maya 2016. let say for exemple this script/
window;
columnLayout;
string $selObj[] = `ls -sl` ;
textFieldButtonGrp -text $selObj[0] -buttonLabel "Button" -buttonCommand "objectName" selectedObject;
proc objectName(){
string $selObj[] = `ls -sl` ;
textFieldButtonGrp -e -text $selObj[0] -buttonLabel "Button" -buttonCommand "objectName" selectedObject;
}
showWindow; Script run fine everything alright but when i delete anby line from the script let say for exemple i do this /
window; columnLayout; string $selObj[] = `ls -sl` ; textFieldButtonGrp -text $selObj[0] -buttonLabel "Button" -buttonCommand "objectName" selectedObject; showWindow;
run the script again and i have the same result with no errors. to see the difference i shoul each time restart maya. i try this with maya 2013 also and i have the same issue. each time when i change anything in any script i shoul restart maya again and again. any idea please. thank you.