That's probably because its on default colour? Try changing the colour first
Howard
>________________________________
> From: sh4dow <nuke-python-re...@thefoundry.co.uk>
>To: nuke-python@support.thefoundry.co.uk
>Sent: Tuesday, 18 September 2012, 14:01
>Subject: [Nuke-python] tile_color always returning 0?
>
>
>I would like to get the color information of a node but trying the following
>(as suggested e.g. here), I always get 0:
>
>
>Code:
>
>print nuke.selectedNode()['tile_color'].value()
>
>_______________________________________________
>Nuke-python mailing list
>Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python