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 <[email protected]> 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 > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > -- Matthieu Cadet Compositor Artist & TD, nWave Digital [email protected]
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
