sorry miss typed: was sposed to say "hey jon, try importing the mel commands into PYTHON :"
:) On Sat, May 22, 2010 at 5:03 PM, matthew evans <[email protected]>wrote: > hey jon, try importing the mel commands into maya : > > import maya.mel as mel > makecolide="makeCollideNCloth;" > mel.eval(makecolide) > > > the eval command uses the actual mel commands in python but you need to > create them as a string first, hope this helps > > On Fri, May 21, 2010 at 12:05 AM, [email protected] < > [email protected]> wrote: > >> I need to create a collision with a container object and nParticles >> how do i use this : >> makeCollideNCloth; >> in python? i tried using a mel wrapper but it keeps coming up saying >> no module for mel >> also im not too sure how to use mel commands in python >> the cmds.collision() doesn't work either >> >> if anyone can help would be great >> >> -- >> http://groups.google.com/group/python_inside_maya > > > -- http://groups.google.com/group/python_inside_maya
