pymel.core.modeling.subdDuplicateAndConnect

subdDuplicateAndConnect(*args, **kwargs)

This command duplicates the input subdivision surface object, connects up the outSubdiv attribute of the original subd shape to the create attribute of the newly created duplicate shape and copies over the shader assignments from the original shape to the new duplicated shape. The command will fail if no objects are selected or sent as argument or if the object sent as argument is not a subdivision surface object.

Derived from mel command maya.cmds.subdDuplicateAndConnect

Example:

import pymel.core as pm

pm.subdDuplicateAndConnect( 'pSubd1' )

Previous topic

pymel.core.modeling.subdCollapse

Next topic

pymel.core.modeling.subdEditUV

Core

Core Modules

Other Modules

This Page