Hey Guys, got a SERIOUS problem:confused: I’ve asked this in another Thread but guess no-one’s noticing…
While creating dynamic drop-down menu in nuke, I am creating a panel this way: :niceone:
def panel_example():
sequenceList = ['A B C']
splitShotA = ['A A A']
splitShotB = ['B B B']
splitShotC = ['C C C']
p = nuke.Panel("Browser Panel")
p.addEnumerationPulldown("Select Sequence:", ''.join(sequenceList))
p.addEnumerationPulldown("Select Shot:", ' '.join(splitShotA))
p.addMultilineTextInput("Add Notes:", multilineTextInput)
p.addBooleanCheckBox("Save Local:", booleanCheckBox)
p.addButton("Cancel")
p.addButton("Create")
result = p.show()
enumVal = p.value("Select Sequence:")
if enumVal is not None:
print "Select Sequence: ", enumVal
boolVal = p.value("Save Local:")
if boolVal is not None:
print "Save Local:", boolVal
panel_example()
Here, am calling a list in Pull Down "Select Sequence"
What I want to do now is when user selects B in "Sequence List", "Shot List" should be recreated and be populated with splitShotB list….
Any help ‘d be greately appreciated…:radar: OR i’ll pull my hairs off!!! :scorching::splat:
Post a Comment