ObjectModifiers(bpy_struct)

base class — bpy_struct

class bpy.types.ObjectModifiers(bpy_struct)

Collection of object modifiers

new(name, type)

Add a new modifier.

Parameters:
  • name (string) – New name for the bone.
  • type (enum in [‘ARRAY’, ‘BEVEL’, ‘BOOLEAN’, ‘BUILD’, ‘DECIMATE’, ‘EDGE_SPLIT’, ‘MASK’, ‘MIRROR’, ‘MULTIRES’, ‘SCREW’, ‘SOLIDIFY’, ‘SUBSURF’, ‘UV_PROJECT’, ‘VERTEX_WEIGHT_EDIT’, ‘VERTEX_WEIGHT_MIX’, ‘VERTEX_WEIGHT_PROXIMITY’, ‘ARMATURE’, ‘CAST’, ‘CURVE’, ‘DISPLACE’, ‘HOOK’, ‘LATTICE’, ‘MESH_DEFORM’, ‘SHRINKWRAP’, ‘SIMPLE_DEFORM’, ‘SMOOTH’, ‘WARP’, ‘WAVE’, ‘CLOTH’, ‘COLLISION’, ‘EXPLODE’, ‘FLUID_SIMULATION’, ‘NAVMESH’, ‘PARTICLE_INSTANCE’, ‘PARTICLE_SYSTEM’, ‘SMOKE’, ‘SOFT_BODY’, ‘SURFACE’]) – Modifier type to add.
Returns:

Newly created modifier.

Return type:

Modifier

remove(modifier)

Remove an existing modifier from the object.

Parameters:modifier (Modifier, (never None)) – Modifier to remove.

Inherited Properties

Inherited Functions

References

Previous topic

ObjectConstraints(bpy_struct)

Next topic

ObstacleFluidSettings(FluidSettings)