Use http://markdown-here.com/ for highlighting your code in group it will be show your code better :)
On Sun, Dec 6, 2015 at 11:45 AM, Mahmoodreza Aarabi <[email protected]> wrote: > Hey > did you use cmds.connectAttr command? > > > On Sat, Dec 5, 2015 at 10:05 PM, <[email protected]> wrote: > >> Can anyone tell me how to connect a wrap deformer. >> I have a full body where all the shape going to be connected and then >> need to wrap my cut head to the full body and extract those shape. >> >> >> >> ####### >> import maya.cmds as cmds >> >> cmds.blendShape( 'BS_Happy', 'BS_Sad', 'BS_newNeutral', 'BaseMesh' ) >> >> cmds.move( 0, 0, 0, 'BaseMesh','BaseMeshCut', absolute=True ) >> >> cmds.deformer('BaseMeshCut', type='wrap')[0] >> ''''I guess I have to connect the attribute >> ######### >> >> So the wrap is added to my BaseMeshCut but how do I connected to my base >> mesh? >> >> DDim >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/78e542c8-b01e-4aee-9e0e-7be94423a002%40googlegroups.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > > Bests, > madoodia > -- Bests, madoodia -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CADvbQwK5zcCh06WE5Jmib%2BQD1r8rosKqk-04M2g7gP5BOCgXTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
