Hi,

i want to create a panel that has the format pulldown from the current nuke 
script in it.
So i know how to create a panel:

p = nuke.Panel("Resolutions")

And then add a pulldown menu for it:

p.addEnumerationPulldown("Format","1 2 3 4 5“)

But how do i add a pulldown, that has all the current scripts formats in it?
Would i have to basically copy all entries from nuke.formats() into my pulldown 
one by one?
Or is there a simpler way, like creating the format pulldown from the project 
settings with a built-in function?

Daniel_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to