All pastes #792857 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-11-21 19:41 UTC
rendered paste body
objs = Object.Get()
print objs # this includes the desired object [Object "newObj]

ob = Object.Get("newObj")
scn = Scene.GetCurrent()
scn.objects.unlink(ob)

objs = Object.Get()
print objs # [Object "newObj] should be gone, but it's not ...