On 27 Maj, 23:20, John Cassella <[email protected]> wrote:
> Hey Chad, thanks for the quick response.. :-)
>
> tried your idea.. but got this error still.
>
> TypeError: in method 'MFnArrayAttrsData_checkArrayExist', argument 3 of type
> 'MFnArrayAttrsData::Type &' //
>
I've stumbled upon something similar in getDensityMode method in
MFnFluid class.
Api descirbed defition of this method as getDensityMode
( FluidMethod &mode, FluidGradient &gradient ) and I didn't
found a way to use it. I'll be happy if anyone know how to use this
method properly.
Using getPerParticleAttribute method with try/except should work in
your case.
Marcin
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---