probably something like
import maya.OpenMaya as OpenMaya
arrayExist = inputPPArray.checkArrayExist('magnitude',
OpenMaya.MFnArrayAttrsData.kDoubleArray)
On Wed, May 27, 2009 at 1:55 PM, John Cassella <[email protected]> wrote:
> diving head first into Api stuff, how can I convert the following 4
> lines from C plugin to python plugin?
> tried what I thought would work, but it did not..
>
>
> const MString magString("magnitude");
> MFnArrayAttrsData::Type doubleType(MFnArrayAttrsData::kDoubleArray);
> bool arrayExist;
> arrayExist = inputPPArray.checkArrayExist(magString, doubleType, &status);
>
>
> this is from the dynExprField plugin from the devkit
>
>
> thanks :-)
>
> -johnc
> luma pictures
>
>
> >
>
--
www.chadvernon.com
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---