hi, Your solution worked but i have one confusion
how does that works when i have only one element like myString = 'x' cmds.pointConstraint( 'sph1', 'sph2', skip=[myString]) and this works, problem comes when i have two axis to skip... Thanks Tushar On Thursday, 9 October 2014 00:26:43 UTC+5:30, [email protected] wrote: > > Hi, > > the arguments need to be seperate strings within a list. How you have it, > your passing in a list that looks like ["x,y"]. You need your list to look > like ["x","y"] > > try something like this: > > skipList = ['x'] > skipList.append('y') > > cmds.pointConstraint( 'sph1', 'sph2', skip=skipList ) > > -- 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/5778e092-27c4-4190-aa4b-5d7829530354%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
