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.

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

Core

Core Modules

Other Modules

This Page