[Bf-python] (no subject)

Carlos López klopes at posta.unizar.es
Wed Jul 9 13:15:38 CEST 2003


Hello, I'm Klópes and it's my first post here. I hope help something. (I'm the Kloputils' creator)

Well, it's the fact: I've noticed that loc,rot and size attributes are no more write-access. ("Use setLocation instead!", and so on) What about if, for example, I want to write only the Z coordinate for an object? Do I need to put:

coo=o.getLocation()
o.setLocation(coo[0],coo[1],Z)

instead of:

coo.LocZ=Z

either:

coo.loc[2]=Z (this's my case, because I don't know which coordinate)

Perhaps there's another solution, and I'm not so good... :.(, but I suggest a function such as o.setLoc[c], or so.

Klópes



More information about the Bf-python mailing list