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

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to