View Single Post
# 4 20-02-2017 , 05:43 PM
Registered User
Join Date: Nov 2011
Posts: 10
Hi guys, just created this python script to simplify the job for everyone.

Code:
import maya.cmds as mc

selectedVertex = mc.ls(selection=True, flatten=True)

for vtx in selectedVertex:
   mc.setAttr(vtx, edit=True, lock=True)
Just select the vertices that you want to lock and execute the script.