Re: [Nuke-python] Create cam on file drop

2017-02-17 Thread Vincent Langer
Cool thank you ! Am 17.02.2017 17:38 schrieb "Matthieu Cadet" : > 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 > wrote: > >> Hi there, >> if you drag

Re: [Nuke-python] Create cam on file drop

2017-02-17 Thread Matthieu Cadet
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 wrote: > Hi there, > if you drag and drop a file onto the nodegraph nuke automatically creates > a readnode even i

[Nuke-python] Create cam on file drop

2017-02-17 Thread Vincent Langer
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 becaus