Re: [Tutor] 'sphere' object is unindexable

2009-02-06 Thread Carnell, James E
Sorry, I do see that I wrote that question in a confusing way, but I've worked out where I was going wrong now. Thanks for taking a look. > > m.pick = ["stab","stab","stab","..."] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailma

Re: [Tutor] 'sphere' object is unindexable

2009-02-06 Thread Mr Gerard Kelly
Sorry, I do see that I wrote that question in a confusing way, but I've worked out where I was going wrong now. Thanks for taking a look. - Original Message - From: Alan Gauld Date: Friday, February 6, 2009 7:22 pm Subject: Re: [Tutor] 'sphere' object is unindexable >

Re: [Tutor] 'sphere' object is unindexable

2009-02-06 Thread Alan Gauld
"Mr Gerard Kelly" wrote I am trying to get around the problem of sphere object being unindexable. Can you give some background? Where are you getting these spheres? Is this a graphics program or a tookit of some kind? I need to make spheres appear, positioned according to some list, for ex

[Tutor] 'sphere' object is unindexable

2009-02-06 Thread Mr Gerard Kelly
I am trying to get around the problem of sphere object being unindexable. I need to make spheres appear, positioned according to some list, for example: for i in [0,1]: sphere(pos=(0,i,0), radius=0.1) Is there any way of making these different spheres behave differently without using indexi