Go to: Synopsis. Return value. Related. Flags. Python examples.

Synopsis

untrim( surface , [caching=boolean], [constructionHistory=boolean], [curveOnSurface=boolean], [name=string], [noChanges=boolean], [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.

Return value

string[]Object name and node name

In query mode, return type is based on queried flag.

Related

intersect, projectCurve, trim

Flags

caching, constructionHistory, curveOnSurface, name, noChanges, nodeState, object, replaceOriginal, untrimAll
Long name (short name) Argument types Properties
Common flags
constructionHistory(ch) boolean create
Turn the construction history on or off.
curveOnSurface(cos) boolean create
If possible, create 2D curve as a result.
name(n) string create
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) boolean createqueryedit
If set then the operation node will be automatically put into pass-through mode.
object(o) boolean create
Create the result, or just the dependency node.
replaceOriginal(rpo) boolean create
Create "in place" (i.e., replace).
untrimAll(all) boolean queryedit
if true, untrim all the trims for the surface else untrim only the last trim
Advanced flags
caching(cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
nodeState(nds) int createqueryedit
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.

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.

Python examples

import maya.cmds as cmds

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

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