select joint for paint skin weights via mel code


#1

I had a couple of lines that selects joint for paint skin weights via mel code.
now I see it does nothing in maya 2016

eg.
setSmoothSkinInfluence rootJoint;


#2

Works ok here.
Do you have the skin selected and the paint skin weights tool active before running the MEL?