That is really nice Luca! Exactly what I was looking for :))
great, thanks a lot!
cheers
Arno
On 30 jan 2013, at 10:40, Luca Fiorentini wrote:
> on a second thought with this you don´t overwrite the name of the controls
> all the time so you will be able to query them later on
>
> [CODE]
> cl
That is really nice Luca! Exactly what I was looking for :))
great, thanks a lot!
cheers
Arno
On 30 jan 2013, at 10:40, Luca Fiorentini wrote:
> on a second thought with this you don´t overwrite the name of the controls
> all the time so you will be able to query them later on
>
> [CODE]
> c
on a second thought with this you don´t overwrite the name of the controls
all the time so you will be able to query them later on
[CODE]
class Main( nukescripts.PythonPanel):
def __init__( self ):
self.myList = []
nukescripts.PythonPanel.__init__( self, 'select file...',
'my.
Sorry I completely misunderstood your question :)
I think you should use a python panel and inherit his class
(nukescript.PythonPanel).
I wrote a quick snippet that should help you start. There are some problems
(like the filename searches are appearing under the ok buttons or if you
change and exi
Hey Luca,
thanks for your reply.
unfortunately that's not what I'm looking for.
I have this:
import nuke
class Main():
def __init__( self ):
self.Panel = nuke.Panel( "select file..." )
self.Panel.addFilenameSearch( 'file01', '/' )
self.Pan
In the project settings there is a tab called "Python" with three fields:
onScriptLoad, onScriptSave and onScriptClose.
Is it what you are looking for?
On Tue, Jan 29, 2013 at 12:30 AM, ArnoB wrote:
> hello,
>
> I'd like to change the contents of a Panel according to the
> name of a file that'
hello,
I'd like to change the contents of a Panel according to the
name of a file that's chosen by the user.
Is it possible have a callback on the "Open" button of a
nuke.addFilenameSearch command?
Maybe I'm searching in the wrong direction and there's
another way to update the Panel by clicking