Go to: Synopsis. Return value. Related. Flags. Python examples.
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.
string[] | Object name and node name |
In query mode, return type is based on queried flag.
intersect, projectCurve, trim
caching, constructionHistory, curveOnSurface, name, noChanges, nodeState, object, replaceOriginal, untrimAll
Long name (short name) |
Argument types |
Properties |
|
Common flags |
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off.
|
|
curveOnSurface(cos)
|
boolean
|
|
|
If possible, create 2D curve as a result.
|
|
name(n)
|
string
|
|
|
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
|
|
|
If set then the operation node will be automatically put into pass-through mode.
|
|
object(o)
|
boolean
|
|
|
Create the result, or just the dependency node.
|
|
replaceOriginal(rpo)
|
boolean
|
|
|
Create "in place" (i.e., replace).
|
|
untrimAll(all)
|
boolean
|
|
|
if true, untrim all the trims for the surface else untrim
only the last trim
|
|
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.
|
|
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 )