worldMatrix is an array attribute because an instance can have multiple
worldMatrices. So you need to do something like:
plug = fn.findPlug('worldMatrix')
plug = plug.selectAncestorLogicalIndex(0, plug.attribute())
-Chad
On Wed, Oct 22, 2008 at 6:04 PM, Chadrik <[EMAIL PROTECTED]> wrote:
>
> that last line should say plug3 not plug2. doh!
>
> -chad
>
>
> >
>
--
www.chadvernon.com
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---