Re: [Maya-Python] RuntimeError setAttr

2014-10-15 Thread Eduardo Grana
Hello Flaye, Maybe you are trying to set a double3 type with this? [(24.1303752966691, 1.4210854715202004e-13, 5.329070518200751e-15)] If this is the case, be aware, you have a list with a tuple inside, so you need something like *[(24.1303752966691, 1.4210854715202004e-13, 5.329070518200751e-15)]

Re: [Maya-Python] RuntimeError setAttr

2014-10-14 Thread Justin Israel
It would be great if you could identify which line actually produces this error. On Wed, Oct 15, 2014 at 3:24 PM, flaye wrote: > I get this error, and haven't been able to find the source of it. Is it > way Python interprets the numbers for Y & Z? > > > # RuntimeError: setAttr: Error reading dat

[Maya-Python] RuntimeError setAttr

2014-10-14 Thread flaye
I get this error, and haven't been able to find the source of it. Is it way Python interprets the numbers for Y & Z? # RuntimeError: setAttr: Error reading data element number 1: [(24.1303752966691, 1.4210854715202004e-13, 5.329070518200751e-15)] # Here's the method that generates it: def