Untitled
##This script is usefull for resnapping moved points to neutral shape - while making Bshapes import pymel.core as pm neutralShape = 'NEUTRALShape' pts = [i for i in pm.selected(fl = True)] for p in pts: index = p.index() nPt = pm.PyNode(neutralShape + '.vtx[' + str(index) + ']') p.setPosition(nPt.getPosition(space='world'),space='world')