pymel.core.nodetypes.Trim

Inheritance diagram of Trim

class Trim(*args, **kwargs)

class counterpart of mel function trim

This command trims a surface to its curves on surface by first splitting the surface and then selecting which regions to keep or discard.

MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))
MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, '_callback'), EnumValue('MdgTimerMetric', 1, '_compute'), EnumValue('MdgTimerMetric', 2, '_dirty'), EnumValue('MdgTimerMetric', 3, '_draw'), EnumValue('MdgTimerMetric', 4, '_fetch'), EnumValue('MdgTimerMetric', 5, '_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, '_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, '_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, '_computeNotDuringCallback'))
MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))
MdgTimerType = Enum( EnumValue('MdgTimerType', 0, '_self'), EnumValue('MdgTimerType', 1, '_inclusive'), EnumValue('MdgTimerType', 2, '_count'))
getCaching(**kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.trim

getLocatorU(**kwargs)

u parameter value to position a locator on the surface.Default:0.5

Derived from mel command maya.cmds.trim

getLocatorV(**kwargs)

v parameter value to position a locator on the surface.Default:0.5

Derived from mel command maya.cmds.trim

getNodeState(**kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.trim

getSelected(**kwargs)

Specify whether to keep or discard selected regions.Default:0

Derived from mel command maya.cmds.trim

getShrink(**kwargs)

If true, shrink underlying surface to outer boundaries of trimmed surface.Default:false

Derived from mel command maya.cmds.trim

getTolerance(**kwargs)

The tolerance with which to trim.Default:0.001Advanced flags

Derived from mel command maya.cmds.trim

setCaching(val=True, **kwargs)

Modifies the node caching mode. See the node documentation for more information.Note:For advanced users only.

Derived from mel command maya.cmds.trim

setLocatorU(val=True, **kwargs)

u parameter value to position a locator on the surface.Default:0.5

Derived from mel command maya.cmds.trim

setLocatorV(val=True, **kwargs)

v parameter value to position a locator on the surface.Default:0.5

Derived from mel command maya.cmds.trim

setNodeState(val=True, **kwargs)

Modifies the node state. See the node documentation for more information.Note:For advanced users only.Common flags

Derived from mel command maya.cmds.trim

setSelected(val=True, **kwargs)

Specify whether to keep or discard selected regions.Default:0

Derived from mel command maya.cmds.trim

setShrink(val=True, **kwargs)

If true, shrink underlying surface to outer boundaries of trimmed surface.Default:false

Derived from mel command maya.cmds.trim

setTolerance(val=True, **kwargs)

The tolerance with which to trim.Default:0.001Advanced flags

Derived from mel command maya.cmds.trim

Previous topic

pymel.core.nodetypes.TransposeMatrix

Next topic

pymel.core.nodetypes.TrimWithBoundaries

Core

Core Modules

Other Modules

This Page