This command trims a surface to its curves on surface by first splitting the surface and then selecting which regions to keep or discard.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
caching (cch) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
locatorU (lu) | float | ||
|
|||
locatorV (lv) | float | ||
|
|||
name (n) | unicode | ||
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. |
|||
nodeState (nds) | int | ||
|
|||
object (o) | bool | ||
|
|||
replaceOriginal (rpo) | bool | ||
selected (sl) | int | ||
|
|||
shrink (sh) | bool | ||
|
|||
tolerance (tol) | float | ||
|
Derived from mel command maya.cmds.trim
Example:
import pymel.core as pm
# Keep all selected regions
pm.trim( sl=0 )
# Discard all selected regions
pm.trim( sl=1 )
# shrink the underlying surface to just outside the
# outermost boundary curve
pm.trim( sh=1 )