Hello Yao,
Maybe i miss understood you, sorry.. ;)
I thought you would do some mix of python cmds ,
but not an interactive deformer.
If you are trying something like that, maybe its a good idea
to first check out soup plugin suite, that is free even for commercial use.
I think there is an example with a uvBlendShaper, and several other belndshape experiments...
Anyay, let me explain better what i had in mind in case it is of any help.
Let imagine we have full body mesh with no deformations, lets call it
fullBodyBase. Then we have a part of it also with no deformations, lets
call it armBase.
So the process i though of would be:
-duplicate armBase and sculpt it to get armShape1
-apply armShape1 to armBase as blendshape target
-wrap fullBodyBase with armBase
-activate the weight on the blendshape, fullBodyBase will
get deformed (some painting of the envelope weights on wrapDeformer
maybe needed to restrict the area of influence the the armPart )
-duplicate de fullBodyBase to get the rebuilded armShape
Cheers!
Eduardo