You can use

print nuke.toNode("DeepSample1")["list"].toScript()

​

On Mon, Feb 13, 2017 at 8:20 PM, Guillaume Parra <gparra....@gmail.com>
wrote:

> Hey,
>
> I'm trying to get the values that are dynamically shown in a List_Knob
> coming from a DeepSample Node.
>
> Is this possible ?
>
> When I try this :
>
> print nuke.toNode("DeepSample1")["list"].getValue()
>
>
> I obtain :
>
> # Result: 0.0
>
>
> Instead of this kind of info :
>
> {2 2 0.111 0.234 1.2654}
>
> Thanks.
> Guillaume.
>
> _______________________________________________
> 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
>
>


-- 

*Erik Johansson*
*Pipeline TD*
*Goodbye Kansas Entertainment *
Owner of Fido, Bläck, Imagination Studios, Infinite Entertainment & Goodbye
Kansas Game Invest

Rosenlundsgatan 40, 4th floor
118 53 Stockholm, Sweden
Ph: +46 8 556 990 00
Orgno: 556974-1993

www.goodbyekansas.se
_______________________________________________
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

Reply via email to