if window -ex prob! ne idea
hi,
i have just seen a video from cgw magzine and they have shown clear code with simple example.... now my maya gives syntax error........... can't find it out....... can ne one tell.........the prob here it is: // declare variables string $amx_char_vwr = "animex_char_viewer"; string $amx_char_lot = "animex_char_layout"; string $amx_char_lbx = "animex_char_listbox"; // check if window exists already if ('window -ex $amx_char_vwr') deleteUI $amx_char_vwr; // creating new window now window -w 300 -h 100 -title "ani_chr_vwr" $amx_char_vwr; frameLayout -l ""; showWindow; |
I didn't test this out but I think your problem is this line:
if ('window -ex $amx_char_vwr') ... which should be: if (`window -ex $amx_char_vwr`) Notice the ' vs ` characters... |
it works.........
hi,
thats gr8.......................exactly................. ... u da man........ really thnx take care bye |
All times are GMT. The time now is 10:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018