Im looking for a method to convert a particle system and then delete the parent particles. When i do it manually with parent unchecked under render it works fine. BUt when using python it seems parents are visible.
I got this piece of code to convert the modifer to mesh.
selected = bpy.context.selected_objects active = bpy.context.active_object
# select active object
bpy.context.scene.objects.active = ob
bpy.ops.object.modifier_convert(modifier=modifierName)
bpy.ops.object.mode_set(mode='OBJECT')
for v in bpy.context.active_object.data.vertices:
v.select = True
bpy.ops.object.mode_set(mode='EDIT')
and i can count the number of parent and child using this;
num_parents = len(partSystem.particles)
num_children = len(partSystem.child_particles)
I dont understand why the parent are visible when its dont by python.