Ouch... not sure what you're TRYING to do, but that's not it. Here are some ideas:
First, define your list. I'll just copy the list you provided: pieceList = ["CONE01", "ROOKPLY1L", "BISHOPPLY1L", "KNIGHTPLY1L", "KINGPLY1", "QUEENPLY1", "KNIGHTPLY1R", "BISHOPPLY1R", "ROOKPLY1R", "PAWNPLY1_1", "PAWNPLY1_2", "PAWNPLY1_3", "PAWNPLY1_4", "PAWNPLY1_5", "PAWNPLY1_6", "PAWNPLY1_7", "PAWNPLY1_8", "ROOKPLY2L", "BISHOPPLY2L", "KNIGHTPLY2L", "QUEENPLY2", "KINGPLY2", "KNIGHTPLY2R", "BISHOPPLY2R", "ROOKPLY2R","PAWNPLY2_1", "PAWNPLY2_2", "PAWNPLY2_3", "PAWNPLY2_4", "PAWNPLY2_5", "PAWNPLY2_6", "PAWNPLY2_7", "PAWNPLY2_8"] Now, you can go through each item. There are a couple of ways, depending on whether or not you need to know WHICH item it is. I'm not familiar with the 3D commands, like addChild, so forgive me if I make a 3D faux pas: repeat with thisPiece in pieceList scene.group("ALL").addchild(thisPiece) end repeat which sucks out each entry (first "CONE01", then "ROOKPLY1L", then "BISHOPPLY1L", etc..) and supplies it to the addchild function. OR, you can do it by index, like this: numPieces =count(pieceList) repeat with x=1 to numPieces thisPiece =pieceList[x] -- Do something with thisPiece, or do something -- with your index 'x' end repeat Does that get you a little closer to what you want to accomplish? - Tab At 07:32 PM 3/10/02 +0000, Kevin Mccarthy wrote: >scene.newgroup("ALL") > repeat with i in ["CONE01", "ROOKPLY1L", "BISHOPPLY1L", "KNIGHTPLY1L", >"KINGPLY1", "QUEENPLY1", "KNIGHTPLY1R", "BISHOPPLY1R", "ROOKPLY1R", >"PAWNPLY1_1", "PAWNPLY1_2", "PAWNPLY1_3", "PAWNPLY1_4", "PAWNPLY1_5", >"PAWNPLY1_6", "PAWNPLY1_7", "PAWNPLY1_8", "ROOKPLY2L", "BISHOPPLY2L", >"KNIGHTPLY2L", "QUEENPLY2", "KINGPLY2", "KNIGHTPLY2R", "BISHOPPLY2R", >"ROOKPLY2R","PAWNPLY2_1", "PAWNPLY2_2", "PAWNPLY2_3", "PAWNPLY2_4", >"PAWNPLY2_5", "PAWNPLY2_6", "PAWNPLY2_7", "PAWNPLY2_8"] > scene.group("ALL").addchild(scene.model[i]) > end repeat > >what am I doing wrong ? > >-Kev- [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]