Only if it has too (verts with no edges etc) but its almost always
desirable in our experience. Of the mesh is generally clean Maya will
preserve the vertex order with operations like that. We've been doing it
with blendshapes for years.

On Mon, Oct 5, 2015, 2:25 PM Michał Frątczak <[email protected]> wrote:

> There's a risk however of changing vertex order ?
>
>
> On Monday, October 5, 2015 at 11:23:35 PM UTC+2, Ian Jones wrote:
>
>> In the past one of the ways we've sanitized meshes like this is make a
>> cube and combine it with the desired mesh then delete the first 6 faces
>> (from the cube). That tends to force Maya to rebuild/reset everything.
>>
>> Ian
>>
>> On Mon, Oct 5, 2015, 2:17 PM Chad Fox <[email protected]> wrote:
>>
> ​Thanks for the input, unfortunately the CG talk thread doesn't give me
>>> any new info, in fact I recommend people read that one carefully as there's
>>> a few people tossing around ideas of .pnts that are not accurate.
>>>
>>> As the thread points out, you can edit pnts with setAttr, but setting
>>> the pnts to 0, 0, 0 just moves the verts back to their base location. wish
>>> I could just setIdentity on the pnts array hehe.​
>>>
>>>
>>> -Chad
>>>
>>
>>> On Mon, Oct 5, 2015 at 11:26 AM, f.michal <[email protected]> wrote:
>>>
>>>> W dniu 2015-10-01 o 00:28, Chad_Fox pisze:
>>>>
>>>> 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?utm_medium=email&utm_source=footer>
>>>> https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>> Hi Chad !
>>>> Have you found any solution ? I got struck by this again lately, and I
>>>> even posted to group an hour ago or so !
>>>>
>>>> --
>>>> 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/5612C0F1.9060109%40gmail.com
>>>> <https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> 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/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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/745a4f68-7691-4c57-9ea1-558eb7ab9cd7%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/745a4f68-7691-4c57-9ea1-558eb7ab9cd7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to