I remember encountering this not long ago and there was a scripted solution
for it, a command of sorts. But I can't remember what it was..

Until you find it, you can always plug the outMesh of your mesh into the
inMesh of an empty mesh (`cmds.createNode("mesh")`). It will "bake" those
values into the new mesh, you can then delete the original.

On 1 October 2015 at 00:28, Chad_Fox <[email protected]> wrote:

> Hi all
>
> Does anyone know if it's possible to freeze .pnts (tweaks) on a mesh using
> python? I've been struggling with this for a while with no results.
>
> To be clear. I want to remove/freeze/zero these values on meshes that
> don't have tweak nodes or history. For those who don't know, the tweak
> nodes are created when a new history operator is added and all tweaks are
> transferred to this node from the .pnts array on the mesh shape.
> Fortunately when there's history I can just delete history and all tweaks
> are gone too.
>
> Any input or suggestions to try would be greatly appreciated!
>
> Thanks
>
> Chad
>
> --
> 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/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmOABkC6ujwv3W-j7Fm7Ys0oH2kP2G%3DQBQS45aTH%3DymHGZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to