Cool thank you ! Am 17.02.2017 17:38 schrieb "Matthieu Cadet" <matthieu.ca...@gmail.com>:
> You can use nukescripts.drop.addDropDataCallback > I don’t remember exactly how it works but I think this is > what you’re looking for. > > > On Fri, Feb 17, 2017 at 3:19 PM, Vincent Langer <m...@vincentlanger.com> > wrote: > >> Hi there, >> if you drag and drop a file onto the nodegraph nuke automatically creates >> a readnode even if it is not an image format. >> How could it customize that so that for example a .abc file with cam in >> its name will be tranlated into a camera node? >> The onUserCreate callback seems not to work because the filepath is seted >> after the onUserCreate triggers. >> Any ideas? >> >> Cheers, >> Vincent >> >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > > > -- > Matthieu Cadet > Compositor Artist & TD, > nWave Digital > matthieu.ca...@gmail.com > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python