Thanks for pointing me in the right direction Marcus :) Test snippet, with a node name ctrl with an animated float attr named anim, and 3 poly cubes.
import pymel.core as pm cache = pm.createNode('frameCache') ctrl = pm.PyNode('ctrl') time = pm.PyNode('time1') cube_1 = pm.PyNode('pCube1') cube_2 = pm.PyNode('pCube2') cube_3 = pm.PyNode('pCube3') time.outTime >> cache.varyTime ctrl.anim >> cache.stream cache.past[5] >> cube_1.ty cache.past[10] >> cube_2.ty cache.past[15] >> cube_3.ty On Saturday, October 4, 2014 1:51:49 PM UTC+2, Marcus Ottosson wrote: > > Does anyone know if there is a built in node(s) that can offset a value > driven by an animation curve in time? > > Yes there is, it’s called frameCache. > > - > > http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/Nodes/frameCache.html > > > > > On 4 October 2014 12:48, Anthony Tan <antho...@greenworm.net <javascript:> > > wrote: > >> At a guess, the node itself might do what you want? You just want to >> plug in something into the input slot of the animation curve. >> >> The AnimCurveXYZ node an input value which controls the time at which you >> want to evaluate the curve so you can do simple offsets thusly (relevant >> doc page: >> <http://download.autodesk.com/global/docs/maya2013/en_us/index.html> >> http://download.autodesk.com/global/docs/maya2013/en_us/Nodes/animCurve.html >> ): >> This is just me translating a cube around and re timing things by 2x for >> the heck of it. >> >> >> >> >> On Sat, Oct 4, 2014, at 09:07 PM, johan Borgström wrote: >> >> Hi ! >> >> Does anyone know if there is a built in node(s) that can offset a value >> driven by an animation curve in time? i.e. get the value of the animation >> curve at a different time then the global time? >> >> I have attached an image of a simple setup. There is an attribute called >> anim on the curve node that drives the translation of the poly cubes. Is >> there a node that I could place between the output from the driver and >> before the input of the driven? >> >> The effect I want is one animation curves that drives a number of other >> nodes with the ability to offset the value in time. >> >> Best Regards, >> Johan >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to python_inside_maya+unsubscr...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/d286e962-9051-44c8-8f83-6ab2bfa6320a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/d286e962-9051-44c8-8f83-6ab2bfa6320a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> Email had 1 attachment: >> >> - offset_time_node.gif >> 76k (image/gif) >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to python_inside_maya+unsubscr...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/1412423333.518835.175079701.5074255B%40webmail.messagingengine.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/1412423333.518835.175079701.5074255B%40webmail.messagingengine.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > konstr...@gmail.com <javascript:> > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/fd78cc1f-779e-42cc-a387-2a46cc567aa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.