If you can rely on testing for whether the node has the "animated" indicator
or not, you could do this:
def isAnimated(node):
return int(node['indicators'].value()) & 1
Basically, just check if the node has the "animated" indicator/icon.
Would that work for you?
On Wed, Mar 9, 2011 at 4:32 PM, Nathan Rusch <[email protected]>wrote:
> Not to my knowledge. I think you’ll probably just have to use a knob
> loop.
>
> -Nathan
>
>
> *From:* Howard Jones <[email protected]>
> *Sent:* Wednesday, March 09, 2011 4:06 PM
> *To:* Nuke Python discussion <[email protected]>
> *Subject:* [Nuke-python] node animated
>
> Hi
> Is there a way to check if a node contains an animation?
>
> like knob.isAnimated() but at node level?
>
> I've looked but cant find one.
>
> Cheers
> H
>
> ------------------------------
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python