Hi all

Im sure this is a stupily easy question but Im starting out and having a little 
trouble getting the ball rolling so to say.

Basically heres my script ..


def script():
    cp = nuke.Panel("get value",200)
    cp.addButton("ok")
    test = cp.addEnumerationPulldown("input","0 1 2")
    result = cp.show()    
    drop = cp.value("input")
    print drop
   
script()

very simple,  all I want is to print the reuslt of the Enumeration Pael when it 
is changed within the panel but I cant seem to find this bit of data?  Can 
anyone help me out and show me how I access the button change?

Many thanks for any help.

Cheers

Will



_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to