Your code is actually working, if you select a curveShape and switch to 
component mode you can see the NurbsCurve cvs are in the correct frozen 
position it's just that the curve shape has not been updated.  You can use 
the NurbsCurve.updateCurve() method to redraw the curve in the right 
position.

If you reselect the transform and run:

for shape in selected()[0].getShapes():
    shape.updateCurve()

But, strangely this won't work as part of the same script??




-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/cfc9887e-328a-466e-913b-ae9764186ac8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to