Skip to content

Instantly share code, notes, and snippets.

@GRGSIBERIA GRGSIBERIA/gist:8525728
Last active Jan 3, 2016

Embed
What would you like to do?
import maya.cmds
maya.cmds.loadPlugin("C:/Users/EIICHI/Documents/GitHub/mmd-transporter/main.py")
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.