pymel.core.nodetypes.Trim — PyMEL 1.0.7 documentation

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, 'metric_callback'), EnumValue('MdgTimerMetric', 1, 'metric_compute'), EnumValue('MdgTimerMetric', 2, 'metric_dirty'), EnumValue('MdgTimerMetric', 3, 'metric_draw'), EnumValue('MdgTimerMetric', 4, 'metric_fetch'), EnumValue('MdgTimerMetric', 5, 'metric_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, 'metric_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, 'metric_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, 'metric_computeNotDuringCallback'), EnumValue('MdgTimerMetric', 9, 'metrics'))
MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))
MdgTimerType = Enum( EnumValue('MdgTimerType', 0, 'type_self'), EnumValue('MdgTimerType', 1, 'type_inclusive'), EnumValue('MdgTimerType', 2, 'type_count'), EnumValue('MdgTimerType', 3, 'types'))
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.001 Advanced 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.001 Advanced flags

Derived from mel command maya.cmds.trim