pymel.core.nodetypes.DetachSurface

Inheritance diagram of DetachSurface

class DetachSurface(*args, **kwargs)

class counterpart of mel function detachSurface

The detachSurface command detaches a surface into pieces, given a list of parameter values and a direction. You can also specify which pieces to keep and which to discard using the “-k” flag. The names of the newly detached surface(s) are returned. If history is on, the name of the resulting dependency node is also returned. You can only detach in either U or V (not both) with a single detachSurface operation. You can use this command to open a closed surface at a particular parameter value. You would use this command with only one “-p” flag. If you are specifying “-k” flags, then you must specify one, none or all “-k” flags. If you are specifying all “-k” flags, there must be one more “-k” flag than “-p” flags.

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.detachSurface

getDirection(**kwargs)

Direction in which to detach: 0 - V direction, 1 - U directionDefault:1

Derived from mel command maya.cmds.detachSurface

getKeep(**kwargs)

Keep the detached pieces.Default:trueAdvanced flags

Derived from mel command maya.cmds.detachSurface

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.detachSurface

getParameter(**kwargs)

Parameter at which to detach.Default:0.0

Derived from mel command maya.cmds.detachSurface

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.detachSurface

setDirection(val=True, **kwargs)

Direction in which to detach: 0 - V direction, 1 - U directionDefault:1

Derived from mel command maya.cmds.detachSurface

setKeep(val=True, **kwargs)

Keep the detached pieces.Default:trueAdvanced flags

Derived from mel command maya.cmds.detachSurface

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.detachSurface

setParameter(val=True, **kwargs)

Parameter at which to detach.Default:0.0

Derived from mel command maya.cmds.detachSurface

Previous topic

pymel.core.nodetypes.DetachCurve

Next topic

pymel.core.nodetypes.Dgs_material

Core

Core Modules

Other Modules

This Page