Mball Operators¶
-
bpy.ops.mball.
delete_metaelems
()¶ Delete selected metaelement(s)
-
bpy.ops.mball.
duplicate_metaelems
()¶ Duplicate selected metaelement(s)
-
bpy.ops.mball.
duplicate_move
(MBALL_OT_duplicate_metaelems=None, TRANSFORM_OT_translate=None)¶ Make copies of the selected metaelements and move them
Parameters: - MBALL_OT_duplicate_metaelems (
MBALL_OT_duplicate_metaelems
, (optional)) – Duplicate Metaelements, Duplicate selected metaelement(s) - TRANSFORM_OT_translate (
TRANSFORM_OT_translate
, (optional)) – Move, Move selected items
- MBALL_OT_duplicate_metaelems (
-
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
(select=True)¶ Reveal all hidden metaelements
Parameters: select (boolean, (optional)) – Select
-
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=50.0, seed=0, action='SELECT')¶ Randomly select metaelements
Parameters: - percent (float in [0, 100], (optional)) – Percent, Percentage of objects 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
SELECT
Select, Select all elements.DESELECT
Deselect, 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)) – Type
- threshold (float in [0, inf], (optional)) – Threshold