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 -kflag. 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 -pflag. If you are specifying -kflags, then you must specify one, none or all -kflags. If you are specifying all -kflags, there must be one more -kflag than -pflags.

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 direction Default:1

Derived from mel command maya.cmds.detachSurface

getKeep(**kwargs)

Keep the detached pieces. Default:true Advanced 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 direction Default:1

Derived from mel command maya.cmds.detachSurface

setKeep(val=True, **kwargs)

Keep the detached pieces. Default:true Advanced 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