Le lundi 5 novembre 2018 13:28:25 UTC-5, Neil Roche a écrit : > Hi, > > > Because of a weird bug in Maya when you set parametric length on a motion > path you need to set the opposite; > > > cmds.setAttr(mp + '.fractionMode', True) > > > actually turns parametric off. > > > So you need to do > > > cmds.setAttr(mp + '.fractionMode', not True) or cmds.setAttr(mp + > '.fractionMode', False) > > > > To get your code snippet to work. > > > Cheers, > > > Neil
Hi Neil, thanks for the answer. Indeed, as you flagged, parametric attribute is the 'GUI' name, and fractionMode is the core name, parametric==not fractionMode. In my example, I explicitely set the fractionMode to True, on purpose, because this is the behavior I need (i.e. not parametric). But my thoughts are more about "what happens in a nurbsCurve node, to change the output of my curveIso ?" In other words, I would expect to have the same result in curveFromSurfaceIso.outputSurface and in nurbsCurve.worldSpace. I don't. Any idea of what the nurbsCurve is implicitely doing to my curveFromSurfaceIso.outputSurface ? -- 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/e228d2fe-180a-4655-8d20-0bb01d8a70ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
