pymel.core.modeling.polyCollapseTweaks

polyCollapseTweaks(*args, **kwargs)

A command that updates a mesh’s vertex tweaks by applying its tweak data (stored on the mesh node) onto its respective vertex data. This command is only useful in cases where no construction history is associated with the shape node. If a mesh name is not specified as input, a singly selected mesh (if any) will have its tweaked vertices baked. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
hasVertexTweaks / hvt bool ../../../_images/create.gif ../../../_images/query.gif
  Determines whether an individual mesh has vertex tweaks. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyCollapseTweaks