ehh.. might help someone else.

customAttr = OpenMaya.MVectorArray()
customAttr.clear()

did the trick..





On Feb 4, 5:36 pm, shoesatbush <[email protected]> wrote:
> Using the python maya api to create a particle system based on
> selection list.  Particle gets
> emitted, and custom per-particle attr are added with predetermined
> values, this is so far good, all done in the
> api.
>
> Problem: Attaching a 'time node' for e.g. or any type of modifying
> inside of Maya after the particle generation eliminates the values
> plugged into the per-particle custom attributes, setting the
> initialState either
> in the API or after doesn't make a diffierence.
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to