Hmm... well, I confirmed that the plug doesn't dirty itself properly, so it looks like it's just a bug with the node.
- Paul On Mon, Jun 7, 2010 at 12:53 PM, Erkan Özgür Yılmaz <[email protected]> wrote: > Hi everybody, > > Do anyone had this issue before, makeThreePointCircularArc nodes radius > attirbute is not updating... > > Try this: > > import pymel.core as pm > > threePCA = pm.createNode('makeThreePointCircularArc') > > loc1 = pm.spaceLocator() > > loc2 = pm.spaceLocator() > > loc3 = pm.spaceLocator() > > loc4 = pm.spaceLocator() > > loc1.setAttr('t',(0,0,0)) > > loc2.setAttr('t',(0,1,0)) > > loc3.setAttr('t',(1,1,0)) > > loc1.attr('t') >> threePCA.attr('point1') > > loc2.attr('t') >> threePCA.attr('point2') > > loc3.attr('t') >> threePCA.attr('point3') > > threePCA.attr('radius') >> loc4.attr('ty') > > curveShape = pm.createNode('nurbsCurve') > > threePCA.attr('outputCurve') >> curveShape.attr('create') > > this will create 4 locators, 1 makeThreePointCircularArc node (weird > naming), and one nurbsCurve node and an automatically created transform node > for the curve shape. Three of the locators will create the arc, the forth > one is to check if the radius is updating. It should move up as the three > other locators move. But it doesn't, until you force the plug update by: > > pm.dgdirty( threePCA ) > > is this a bug about the makeThreePointCircularArc node, and do anybody has a > workaround... I'm working under Maya 2011 x64 Linux by the way > > thanks > > E.Ozgur Yilmaz > Lead Technical Director > eoyilmaz.blogspot.com > www.ozgurfx.com > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
