maya script Cannot convert data of type string to type string[]

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  04 April 2018
maya script Cannot convert data of type string to type string[]

string $obje[] = `ls -sl`;
string $ctrls[] = `circle -nr 0 0 1 -c 0 0 0 -n ($obje[0]+"_Ctrl")`;
string $gp[] = `group -n ($ctrls[0]+"_GRP")$ctrls[0]`;


when i run this script in mayathen i got a error message why?
message is cannotconvert data of type string to type string[]
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:15 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.