Mball Operators¶
- bpy.ops.mball.delete_metaelems(*, confirm=True)¶
Delete selected metaball element(s)
- Parameters:
confirm (boolean, (optional)) – Confirm, Prompt for confirmation
- bpy.ops.mball.duplicate_metaelems()¶
Duplicate selected metaball element(s)
- bpy.ops.mball.duplicate_move(*, MBALL_OT_duplicate_metaelems=None, TRANSFORM_OT_translate=None)¶
Make copies of the selected metaball elements and move them
- Parameters:
MBALL_OT_duplicate_metaelems (
MBALL_OT_duplicate_metaelems, (optional)) – Duplicate Metaball Elements, Duplicate selected metaball element(s)TRANSFORM_OT_translate (
TRANSFORM_OT_translate, (optional)) – Move, Move selected items
- bpy.ops.mball.hide_metaelems(*, unselected=False)¶
Hide (un)selected metaball element(s)
- Parameters:
unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
- bpy.ops.mball.reveal_metaelems(*, select=True)¶
Reveal all hidden metaball elements
- Parameters:
select (boolean, (optional)) – Select
- bpy.ops.mball.select_all(*, action=TOGGLE)¶
Change selection of all metaball elements
- Parameters:
action (enum in [
TOGGLE,SELECT,DESELECT,INVERT], (optional)) –Action, Selection action to execute
TOGGLEToggle – Toggle selection for all elements.SELECTSelect – Select all elements.DESELECTDeselect – Deselect all elements.INVERTInvert – Invert selection of all elements.
- bpy.ops.mball.select_random_metaelems(*, ratio=0.5, seed=0, action=SELECT)¶
Randomly select metaball elements
- Parameters:
ratio (float in [0, 1], (optional)) – Ratio, Portion of items to select randomly
seed (int in [0, inf], (optional)) – Random Seed, Seed for the random number generator
action (enum in [
SELECT,DESELECT], (optional)) –Action, Selection action to execute
SELECTSelect – Select all elements.DESELECTDeselect – Deselect all elements.
- bpy.ops.mball.select_similar(*, type=TYPE, threshold=0.1)¶
Select similar metaballs by property types
- Parameters:
type (enum in [
TYPE,RADIUS,STIFFNESS,ROTATION], (optional)) – Typethreshold (float in [0, inf], (optional)) – Threshold