Particle Operators

bpy.ops.particle.brush_edit(stroke=None)

Apply a stroke of brush to the particles

Parameters:stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke
bpy.ops.particle.connect_hair(all=False)

Connect hair to the emitter mesh

Parameters:all (boolean, (optional)) – All hair, Connect all hair systems to the emitter mesh
bpy.ops.particle.delete(type='PARTICLE')

Delete selected particles or keys

Parameters:type (enum in [‘PARTICLE’, ‘KEY’], (optional)) – Type, Delete a full particle or only keys
bpy.ops.particle.disconnect_hair(all=False)

Disconnect hair from the emitter mesh

Parameters:all (boolean, (optional)) – All hair, Disconnect all hair systems from the emitter mesh
bpy.ops.particle.dupliob_copy()

Duplicate the current dupliobject

bpy.ops.particle.dupliob_move_down()

Move dupli object down in the list

bpy.ops.particle.dupliob_move_up()

Move dupli object up in the list

bpy.ops.particle.dupliob_remove()

Remove the selected dupliobject

bpy.ops.particle.edited_clear()

Undo all edition performed on the particle system

bpy.ops.particle.hide(unselected=False)

Hide selected particles

Parameters:unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
bpy.ops.particle.mirror()

Duplicate and mirror the selected particles along the local X axis

bpy.ops.particle.new()

Add new particle settings

bpy.ops.particle.new_target()

Add a new particle target

bpy.ops.particle.particle_edit_toggle()

Toggle particle edit mode

bpy.ops.particle.rekey(keys=2)

Change the number of keys of selected particles (root and tip keys included)

Parameters:keys (int in [2, inf], (optional)) – Number of Keys
bpy.ops.particle.remove_doubles(threshold=0.0002)

Remove selected particles close enough of others

Parameters:threshold (float in [0, inf], (optional)) – Threshold, Threshold distance withing which particles are removed
bpy.ops.particle.reveal()

Show hidden particles

bpy.ops.particle.select_all(action='TOGGLE')

(De)select all particles’ keys

Parameters:action (enum in [‘TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) –

Action, Selection action to execute

  • TOGGLE Toggle, Toggle selection for all elements.
  • SELECT Select, Select all elements.
  • DESELECT Deselect, Deselect all elements.
  • INVERT Invert, Invert selection of all elements.
bpy.ops.particle.select_less()

Deselect boundary selected keys of each particle

bpy.ops.particle.select_linked(deselect=False, location=(0, 0))

Select nearest particle from mouse pointer

Parameters:
  • deselect (boolean, (optional)) – Deselect, Deselect linked keys rather than selecting them
  • location (int array of 2 items in [0, inf], (optional)) – Location
bpy.ops.particle.select_more()

Select keys linked to boundary selected keys of each particle

bpy.ops.particle.select_roots()

Select roots of all visible particles

bpy.ops.particle.select_tips()

Select tips of all visible particles

bpy.ops.particle.subdivide()

Subdivide selected particles segments (adds keys)

bpy.ops.particle.target_move_down()

Move particle target down in the list

bpy.ops.particle.target_move_up()

Move particle target up in the list

bpy.ops.particle.target_remove()

Remove the selected particle target

bpy.ops.particle.weight_set(factor=1.0)

Set the weight of selected keys

Parameters:factor (float in [0, 1], (optional)) – Factor, Interpolation factor between current brush weight, and keys’ weights

Previous topic

Paint Operators

Next topic

Pose Operators