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

Reply via email to