Skip to content

Instantly share code, notes, and snippets.

Last active Jan 3, 2016

What would you like to do?
import maya.cmds
poly = maya.cmds.createNode('transform')
mesh = maya.cmds.createNode('mesh', parent=poly)
maya.cmds.sets(mesh, add='initialShadingGroup')
spoly = maya.cmds.createNode('transportedMMD1')
maya.cmds.connectAttr(spoly + '.outputMesh', mesh + '.inMesh')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.