[Bf-committers] help one script to clear all vertex groups of all models

Tom Edwards contact at steamreview.org
Sun Apr 10 22:07:25 CEST 2011


for shape in obj.data.shape_keys.key_blocks:
     bpy.ops.object.shape_key_remove('EXEC_SCREEN')

On 09/04/2011 3:30, iozk hz wrote:
> hi i have a model that I link to new file but this have all vertex groups of
> the last skeleton and i want delete them quickly. somebody know how do it,
> without press the x button of the list to delete all groups
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list