[Closed] getKnotPoint doesn't work in time context!?
Hi all,
I’m trying to use getKnotPoint in a “at time 25 getKnotPoint obj spline knot” but it gets me the knotpoint for the currenttime… Is there anyway to get the knotpoint without having to use slidertime = 25 etc… to get the value.
Does getKnotPoint not work in a timecontext?
Thanx,
Johan
not sure if this is related, but I had problems setting spline knotpoints by a customAttribute function. I ended in baking the spline animation with slidertime …
Georg
Hi Georg, yeah I think it’s related… it seems this (maybe all?) spline operations do not work in a time context… I trying to build an time/value array and work with that… but it’s a big array now
Anyone else has some more problems with getKnotPoint in a time context?
-Johan
I haven’t used the at time… context yet with shapes, but it’s a known issue that shape operations do not support the undo on context. Not really an answer to your problem, just an observation
Cheers,
Martijn
Hmm, the plot thickens on spline operations… what else is broken…
I really hate stuff like this… once you think you’ve got the stuff figured out and only need 1 simple operation to get it done, there’s a sort of exception (bug) and you’ll have to practicly rewrite the whole script, to get it done… it’s not very productive sometimes…
I’m now looping over everything once in a slidertime += 1 loop and capture the animation data off 240 animated knots in a big multidimensional array and use that info later on… but it feels soooo wrong… i’ve got animated splines already… now I have 2 “structures” that hold the same data… I don’t like it…
ohwell…
-Johan