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’, ‘ARMATURE’, ‘CAST’, ‘CURVE’, ‘DISPLACE’, ‘HOOK’, ‘LATTICE’, ‘MESH_DEFORM’, ‘SHRINKWRAP’, ‘SIMPLE_DEFORM’, ‘SMOOTH’, ‘WAVE’, ‘CLOTH’, ‘COLLISION’, ‘EXPLODE’, ‘FLUID_SIMULATION’, ‘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)