THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/03/2011 at 23:38, xxxxxxxx wrote:
Hi Everyone,
I am trying to sort an array which is called list in python i guess.
i tried
boundingbox = activeobject.GetRad()
print boundingbox
alist = (boundingbox.x, boundingbox.y, boundingbox.z)
print alist
alist.sort()
which gives me
AttributeError: 'tuple' object has no attribute 'sort'
what am I doing wrong ?
thanks in advance
mogh