pymel.core.modeling.untrim

untrim(*args, **kwargs)

Untrim the surface.

Flags:

Long Name / Short Name Argument Types Properties
caching / cch bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.
constructionHistory / ch bool ../../../_images/create.gif
  Turn the construction history on or off.
curveOnSurface / cos bool ../../../_images/create.gif
  If possible, create 2D curve as a result.
frozen / fzn bool  
   
name / n unicode ../../../_images/create.gif
  Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created.
noChanges / nc bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If set then the operation node will be automatically put into pass-through mode.
nodeState / nds int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Modifies the node state. See the node documentation for more information. Note:For advanced users only. Flag can have multiple arguments, passed either as a tuple or a list.
object / o bool ../../../_images/create.gif
  Create the result, or just the dependency node.
replaceOriginal / rpo bool ../../../_images/create.gif
  Create in place(i.e., replace).
untrimAll / all bool ../../../_images/query.gif ../../../_images/edit.gif
  if true, untrim all the trims for the surface else untrim only the last trim Advanced flags

Derived from mel command maya.cmds.untrim

Example:

import pymel.core as pm

# Untrim surface with history.
pm.untrim( 'surface', ch=True )

# Untrims surface without history.
pm.untrim( 'surface', ch=False )