hi zero, i confirmed your problem. we have a 0.9.2 bugfix release coming up pretty soon. i'll have this fix rolled into it.
-chad On Jul 22, 2009, at 2:31 PM, Sylvain Berger wrote: > ho... I see. > > > On Wed, Jul 22, 2009 at 5:28 PM, Count Zer0 <[email protected]> > wrote: > > They are kind of different though. > > node.attribute.exists() : this 'exists()' method acts on the > node.attribute object > > node.hasAttr() acts on the node object. > > On Jul 22, 12:34 pm, Sylvain Berger <[email protected]> wrote: > > I think you could override the attribute class in your code and > add the > > method exists() > > the method exists() will simply return node.attribute.hasAttr() > > > > On Wed, Jul 22, 2009 at 3:25 PM, Count Zer0 <[email protected]> > wrote: > > > > > Anybody confirm this works? I'm not getting this feature to work. > > > > > I've got 'node.attribute.exists()' coded all over the place > which is > > > not supported in 0.9.1. Guess I can replace w/ node.hasAttr > > > ('attribute') but that's gonna take awhile. Would like to have > this > > > transition switch working. > > > > -- > > "A pit would not be complete without a Freeman coming out of it." > > The Vortigaunt > > > > > -- > "A pit would not be complete without a Freeman coming out of it." > The Vortigaunt > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
