Maybe use GetDeformerWeights and accumulate the weights for each deformer into something like a numpy array, do your work, and the set it back?
On Fri, Oct 30, 2015 at 11:50 AM, Eric Thivierge <ethivie...@gmail.com> wrote: > Hello all, > > Right off the bat, no I'm not going to use VBScript or JScript. > > I'm running into an issue in Python that I'm pretty sure is just a simple > case of literally out of memory that Python has available but I'm posting > anyway to see if anyone has ideas. > > I have a mesh with ~350k points and 498 skin deformers. When I try to > access the Weights Array it errors out saying Out of Memory Error in Python. > > Code: > Envelopes(0).GetWeights2().Array > > This simply doesn't work. Anyone have any ideas on how to get around this > in Python or should I look to other tools for this? > > I'm guessing I need to get a buddy to write me a C++ command instead. > > Thanks in advance. > > -------------------------------------------- > Eric Thivierge > http://www.ethivierge.com >