Usually with references in C++, you have to use MScriptUtil which is usually tricky to find the right syntax.
On Thu, May 28, 2009 at 9:43 AM, marcin <[email protected]> wrote: > > > > 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 > > > > > > -- www.chadvernon.com --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
