Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4
import bpy class_obj = bpy.types.Object class_obj.getChildren = lambda ob: [child for child in bpy.data.objects if child.parent == ob]