Lattice Operators

bpy.ops.lattice.flip(axis='U')

Mirror all control points without inverting the lattice deform

Parameters:axis (enum in [‘U’, ‘V’, ‘W’], (optional)) – Flip Axis, Coordinates along this axis get flipped
bpy.ops.lattice.make_regular()

Set UVW control points a uniform distance apart

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

Change selection of all UVW control points

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.lattice.select_ungrouped(extend=False)

Select vertices without a group

Parameters:extend (boolean, (optional)) – Extend, Extend the selection

Previous topic

Lamp Operators

Next topic

Logic Operators