Mball Operators

bpy.ops.mball.delete_metaelems()

Delete selected metaelement(s)

bpy.ops.mball.duplicate_metaelems(mode='TRANSLATION')

Duplicate selected metaelement(s)

Parameters:mode (enum in [‘INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘SKIN_RESIZE’, ‘TOSPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’, ‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’, ‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’, ‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) – Mode
bpy.ops.mball.hide_metaelems(unselected=False)

Hide (un)selected metaelement(s)

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

Reveal all hidden metaelements

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

Change selection of all meta elements

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.mball.select_random_metaelems(percent=0.5)

Randomly select metaelements

Parameters:percent (float in [0, 1], (optional)) – Percent, Percentage of metaelems to select randomly

Previous topic

Material Operators

Next topic

Mesh Operators