I wanted to shift the time of the animcurve and I acctualy found a way to do it , not too pretty but it works ,
I connect the time1 node to the referenced animcurve input attribute and add addDoubleLinear between the time1 plug and the animcurve and use it as the time-offset. yury On Mon, May 17, 2010 at 2:39 PM, yury nedelin <[email protected]> wrote: > thanks a lot for the tip > > I will look into these scripts. > > yury > > > > > On Mon, May 17, 2010 at 12:51 PM, Mark Jackson <[email protected]> wrote: > >> Actually there is a mel global that can over ride the default locking >> on a node type/attr basis. I've never run it but remember reading >> about it when we first looked into a referenced pipeline. >> >> getLockReferenceExcludedNodeTypes() >> getLockReferenceExcludeAttributes() >> >> theres a chunk in the manuals that go over it. Not sure if that's what >> you're after or not >> >> Mark >> >> On 17 May 2010 21:35, Mark Jackson <[email protected]> wrote: >> > animCurves are locked during referencing full stop, I don't think >> > there's any way to unlock or edit them afterwards. It's a pain as one >> > of the things I often found is that you may want to reference in a >> > sequence, but shift the curve times round to suit. As far as I know >> > there's no way to over-ride this. >> > >> > >> > >> > On 17 May 2010 20:06:00 UTC+1, Judah Baron <[email protected]> >> wrote: >> >> You can't just unlock a node that was locked in a referenced file. >> Depending on what you want to do, there may be other ways of accessing the >> node. Can you describe your use case a little? >> >> >> >> -Judah >> >> >> >> >> >> On Mon, May 17, 2010 at 11:13 AM, Brandon Harris <[email protected]> >> wrote: >> >>> >> >>> isn't it like >> >>> >> >>> import maya.cmds as cmds >> >>> >> >>> cmds.lockNode(nodeName, lock=False) >> >>> >> >>> Brandon L. Harris >> >>> >> >>> On May 17, 12:53 pm, ynedelin <[email protected]> wrote: >> >>> > hey all >> >>> > >> >>> > does anyone know of a way to unlock a referenced node? >> >>> > >> >>> > in particular an animcurve node? >> >>> > >> >>> > yury >> >>> > >> >>> > --http://groups.google.com/group/python_inside_maya >> >>> >> >>> -- >> >>> http://groups.google.com/group/python_inside_maya >> >> >> >> -- >> >> http://groups.google.com/group/python_inside_maya >> > >> >> -- >> http://groups.google.com/group/python_inside_maya >> > > -- http://groups.google.com/group/python_inside_maya
