ah yes, thanks again, Doppleganger.

but do you have any idea why the plug from the MSelectionList would
work?  it would make sense if somehow the MSelectionList returned
worldMatrix[0], but they all appear to be the same plug.

-chad



On Oct 22, 6:09 pm, "Chad Vernon" <[EMAIL PROTECTED]> wrote:
> 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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to