This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
#Setting target is optional and you can instead select the mesh or rig manually to run the script fine | |
#Target name can be name of a mesh or an armature type only | |
#Change "TargetName" to the object of your target | |
target="Targetname" | |
#Set vertex groups which you don't to delete beside armature bone weight groups | |
exceptionVertexGroups=["Group"] |