Re: [Maya-Python] AnimLayers pain

2016-03-23 Thread damon shelton
I would suggest looking into using the listHistory command to get back the history nodes of type anim curve On Wednesday, March 23, 2016, Lidia Martinez wrote: > Hi all!, > > animLayers python command is pretty bad in general. Docs are wrong, for > most of the params. I sent suggestions to Autod

[Maya-Python] AnimLayers pain

2016-03-23 Thread Lidia Martinez
Hi all!, animLayers python command is pretty bad in general. Docs are wrong, for most of the params. I sent suggestions to Autodesk. They normally fix it... but it's annoying. I want to find the animation curves for an node. If it happens to be inside an anim layer... the party starts: The pr

Re: [Maya-Python] projecting a vector onto a plane....

2016-03-23 Thread sam
sorry Joe there is one thing i wanted to ask you about this. this works fine when the vectors originate from the origin (0,0,0) but if shift everthing to a new location, it projects the vector onto the plane as if it were at the origin. do i need to do add the position of the vector origin to t

[Maya-Python] Re: Mathematical problem

2016-03-23 Thread Rémi Deletrain
a little update of this script --- #Import modules import operator #Math utils def dotProduct(v1, v2): return sum(map(opera