Hi Stefan,
I tried your sample code on a model here and it worked fine. This is the code I used to test it:
Code:
import viz
viz.go()
viz.move(0,0,-10)
def onkeydown(key):
global tile,child
if key == ' ':
tile = viz.add('testviz/reflect_logo.3ds')
child = tile.getchild('Sphere01')
child.parent(tile)
elif key == 'r':
tile.remove()
viz.callback(viz.KEYDOWN_EVENT,onkeydown)
Let me know if I am doing anything different.
Also, why are you reparenting the child after you get it? When you get a child from a model Vizard retains its hierarchical structure.