Go to: Synopsis. Return value. Related.
Flags. Python
examples.
untrim( surface , [caching=boolean], [constructionHistory=boolean],
[curveOnSurface=boolean],
[name=string], [nodeState=int], [object=boolean], [replaceOriginal=boolean],
[untrimAll=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
untrim is undoable, queryable, and editable.
Untrim the surface.
string[] |
Object name and node name |
In query mode, return type is based on queried flag.
intersect, projectCurve, trim
caching, constructionHistory, curveOnSurface, name, nodeState,
object, replaceOriginal, untrimAll
Long name (short name) |
Argument types |
Properties |
Advanced flags |
caching(cch) |
boolean |
   |
|
Modifies the node caching mode. See the node documentation for
more information.
Note: For advanced users only. |
|
nodeState(nds) |
int |
   |
|
Modifies the node state. See the node documentation for more
information.
Note: For advanced users only. |
|
Common flags |
name(n) |
string |
 |
|
Name the resulting object |
|
constructionHistory(ch) |
boolean |
 |
|
Turn the construction history on or off |
|
object(o) |
boolean |
 |
|
Create the result, or just the dependency node |
|
replaceOriginal(rpo) |
boolean |
 |
|
Create "in place" (i.e., replace) |
|
curveOnSurface(cos) |
boolean |
 |
|
If possible, create 2D curve as a result |
|
untrimAll(all) |
boolean |
  |
|
if true, untrim all the trims for the surface else untrim only
the last trim |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
# Untrim surface with history.
cmds.untrim( 'surface', ch=True )
# Untrims surface without history.
cmds.untrim( 'surface', ch=False )