Oops, the above was unreadable - let me try again (and make a couple of corrections):
test1.py:
mport viz
import vizact
class testclass:
def __init__(self):
self.female = viz.add('vcc_female.cfg')
self.face = viz.add('biohead_talk.vzf')
self.female.setFace(self.face)
self.female.state(14)
self.female.translate(0.3,0.1,1)
self.female.rotate(0,1,0,180)
self.smile = vizact.morph('smile', .5, .1)
def smile(self):
self.face.add(self.smile)
The rest should be ok (I was not passing self to smile, but upon adding self to the def, I still got the same error).
Thanks,
Christian
edit: it flattened everything again, so I used the indent feature this time . . .