On 04/04/2011 15:55, Bertrand Lempereur wrote:
The Borg pattern works, it suppress the content of my already created
panel and create another fresh one but the old tab still there! How can
i delete it in the same time?

Design patterns to the rescue again. You can do this through an Observer:
http://code.activestate.com/recipes/131499-observer-pattern/

Alternatively, with the Singleton you could hijack the original one and reshow that.

I'm also looking a way to access knobs values from panels in python?

AFAIK you should just be able to do panel.knob['foo'].

HTH
--
Wouter Klouwen, Software Engineer
The Foundry, 6th Floor, The Communications Building,
48 Leicester Square, London, WC2H 7LT, UK
T: +442079686828 - F: +442074341550 - thefoundry.co.uk
The Foundry Visionmongers Ltd - Reg.d in England and Wales No: 4642027
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to